Autor Beitrag
Apo95
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 129

Win2000, WinXP, WinServer 2003 Standard x86, Win7x64
Delphi 6 Enterprise, D2009 Architect, RAD Studio XE6 Architect
BeitragVerfasst: Mo 19.03.12 00:02 
Hallo, ich würde gerne wissen, ob ich von einem anderen Formular (Form 9) einen bestimmten Menüeintrag von Form1 auf "disabled" setzen kann.

ich brauche die Antwort so schnell wie möglich!!

Gruß,
Apo95


Moderiert von user profile iconNarses: Topic aus Kommerzielle Projekte verschoben am So 18.03.2012 um 23:08
Narses
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Administrator
Beiträge: 10181
Erhaltene Danke: 1254

W10ent
TP3 .. D7pro .. D10.2CE
BeitragVerfasst: Mo 19.03.12 00:07 
Moin!

user profile iconApo95 hat folgendes geschrieben Zum zitierten Posting springen:
ich würde gerne wissen, ob ich von einem anderen Formular (Form 9) einen bestimmten Menüeintrag von Form1 auf "disabled" setzen kann.
Ja! :D

user profile iconApo95 hat folgendes geschrieben Zum zitierten Posting springen:
ich brauche die Antwort so schnell wie möglich!!
~5min, das ist doch OK, oder? :nixweiss: ;)

cu
Narses

_________________
There are 10 types of people - those who understand binary and those who don´t.
Apo95 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 129

Win2000, WinXP, WinServer 2003 Standard x86, Win7x64
Delphi 6 Enterprise, D2009 Architect, RAD Studio XE6 Architect
BeitragVerfasst: Mo 19.03.12 00:10 
Sicher! Besser geht's nicht... Kannst Du mir zeigen, wie ich das genau machen muss? Ich habe total den Befehl vergessen... :-(
Narses
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Administrator
Beiträge: 10181
Erhaltene Danke: 1254

W10ent
TP3 .. D7pro .. D10.2CE
BeitragVerfasst: Mo 19.03.12 00:12 
Moin!

Scheib beim Zugriff den Namen des Formulars dazu, in dem das Control ist, weiterhin muss die Unit in der uses-Klausel hinzugefügt werden. :idea:

cu
Narses

_________________
There are 10 types of people - those who understand binary and those who don´t.
Apo95 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 129

Win2000, WinXP, WinServer 2003 Standard x86, Win7x64
Delphi 6 Enterprise, D2009 Architect, RAD Studio XE6 Architect
BeitragVerfasst: Mo 19.03.12 00:29 
Klappt leider nicht. Das Programm denkt nicht einmal daran, das Main Menu auf disabeld zu setzen. Ich kann das Formular weiterhin aufrufen...
Narses
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Administrator
Beiträge: 10181
Erhaltene Danke: 1254

W10ent
TP3 .. D7pro .. D10.2CE
BeitragVerfasst: Mo 19.03.12 00:38 
Moin!

Ah, OK, ganz klarer Fall, der Fehler liegt in Zeile 139 in Unit 7.

cu
Narses

_________________
There are 10 types of people - those who understand binary and those who don´t.

Für diesen Beitrag haben gedankt: DonManfred, PantherX, Regan
chickenfigt1989
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 444
Erhaltene Danke: 2



BeitragVerfasst: Mo 19.03.12 16:46 
ausblenden Delphi-Quelltext
1:
Form1.Einstellungen.enabled:=false;					
Apo95 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 129

Win2000, WinXP, WinServer 2003 Standard x86, Win7x64
Delphi 6 Enterprise, D2009 Architect, RAD Studio XE6 Architect
BeitragVerfasst: Di 20.03.12 23:14 
Vielen Dank für eure Hilfe!

Apo95