Autor Beitrag
SnAkE2004
Hält's aus hier
Beiträge: 5

Win98,Win2000,WinXp,Linux,Dos

BeitragVerfasst: Sa 04.12.04 17:59 
Hi leute,

ich versuche gerade delphi zu lernen (aber ich bin noch ganz am anfang).Also zu meine frage ich habe zwei Formulare auf den einen ist ein Button und wenn man auf diesen button klick soll er das zweite Formular auf rufen wie bekomme ich das ihn ?? (bitte für dumme leute erklären)


MFG
snake2004


Moderiert von user profile iconTino: Topic aus Sonstiges verschoben am So 05.12.2004 um 21:15
herzi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 168

WINXP pro, SUSE Linux 9.0
D7 Pers.
BeitragVerfasst: Sa 04.12.04 18:02 
1.
Im Uses Bereich muss die Unit des anderen Formulars stehen!

2.
Im Button Event reinschreiben

ausblenden Delphi-Quelltext
1:
Formular2.show;					


Formular2 ist der Name des zweiten Formulars.
jasocul
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 6395
Erhaltene Danke: 149

Windows 7 + Windows 10
Sydney Prof + CE
BeitragVerfasst: Sa 04.12.04 18:03 
Im OnClick-Ereignis des Button schreibst du:
ausblenden Delphi-Quelltext
1:
Form2.Show;					

Wenn deine zweite Form denn Form2 heißt.
SnAkE2004 Threadstarter
Hält's aus hier
Beiträge: 5

Win98,Win2000,WinXp,Linux,Dos

BeitragVerfasst: Sa 04.12.04 18:08 
Titel: danke
:lol: Danke für die schnelle antwort ich habe es hin bekommen !! :lol:


MFG
snake2004