Autor Beitrag
superchatti
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 296

Win XP, Red Hat Linux 7.3
Delphi 6 PE
BeitragVerfasst: So 20.07.03 16:39 
Ich würde gerne in einer externen Form überprüfen, ob Button1 angecklickt wurde oder nicht!
Wie geht so etwas??

_________________
mfG Superchatti
Terra23
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 872

Win 8
Delphi 7
BeitragVerfasst: So 20.07.03 17:59 
Warum übergibst du nicht eine Variable?:

ausblenden Delphi-Quelltext
1:
2:
3:
4:
TForm1.Button1Click(Sender: TObject);
begin
Druck:=True;
end;


In der FormCreate mußt du dann entsprechend

ausblenden Delphi-Quelltext
1:
2:
3:
4:
TForm1.FormCreate(Sender: TObject);
begin
Druck:=False;
end;


aufrufen, damit die Variable einen "Startwert" erhält. Nicht vergessen, die Variable global zu erstellen.. :-)

_________________
Hasta La Victoria Siempre
superchatti Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 296

Win XP, Red Hat Linux 7.3
Delphi 6 PE
BeitragVerfasst: So 20.07.03 18:03 
Ah!
Danke!

_________________
mfG Superchatti