Autor Beitrag
Fauphi
Hält's aus hier
Beiträge: 9



BeitragVerfasst: So 14.03.04 13:05 
Hi,

Wie kann ich von einer Form1 auf eine Form2 zugreifen?
Also das ich z.B. in Form2 auf einen Button klicke und in Form1 wird in ein Editfeld Hallo geschrieben oder so.
Geht das?

MfG
Fauphi
Henry
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 619

WinXP Prof. SP3
D6 Prof.
BeitragVerfasst: So 14.03.04 13:08 
Hallo,

so kannst Du das lösen
ausblenden Delphi-Quelltext
1:
2:
3:
4:
procedure TForm2.Button1Click(Sender: TObject);
begin
 Form1.Edit1.Text := 'Hallo';
end;

_________________
mfg Henry
Fauphi Threadstarter
Hält's aus hier
Beiträge: 9



BeitragVerfasst: So 14.03.04 13:53 
Aha
gut funkt. Dankeschön Henry.

MfG
Fauphi
Henry
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 619

WinXP Prof. SP3
D6 Prof.
BeitragVerfasst: So 14.03.04 13:59 
Kein Problem

_________________
mfg Henry