Autor Beitrag
schitho
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 288

XP Home SP2
D2005 Prof
BeitragVerfasst: Mi 21.04.04 22:34 
Hi,

ich möchte in Abhängigkeit einers Wertes das Symbol im Menü ändern. Aber das funktioniert nicht?

ausblenden Delphi-Quelltext
1:
AInfo.ImageIndex:=2;					


Die Änderung von AInfo (=TAction) wirkt nur auf die Symbolleiste aber nicht auf das Menü.

Hingegen:

ausblenden Delphi-Quelltext
1:
AInfo.Enabled:=false;					


wirkt sehr wohl auch auf das Menü. :shock:

Was muss ich machen, damit auch das Symbol in der Menü-Bar geändert wird?

Danke

Gruß
Thomas

_________________
(Sorry! Leider ewiger Delphi-Neuling)