Autor Beitrag
Lena
Hält's aus hier
Beiträge: 4



BeitragVerfasst: Di 03.05.05 12:05 
Hallo!
Wie kann ich innerhalb eines programms zwischen zwei formularen wechseln (wenn ich auf einen button klicke soll ein neues fromular angezeigt werden). und wie kann ich informationen von dem einen formular ins andere übertragen??

danke
F34r0fTh3D4rk
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 5285
Erhaltene Danke: 29

Win Vista (32), Win 7 (64)
Eclipse, SciTE, Lazarus
BeitragVerfasst: Di 03.05.05 12:12 
ausblenden Delphi-Quelltext
1:
form2.show;					

oder wenn du das erste dann nicht mehr anklicken dürfen willst:
ausblenden Delphi-Quelltext
1:
form2.showmodal;					
Asgar
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 160

XP Home Edition
D5
BeitragVerfasst: Di 03.05.05 12:15 
Mann könnte es aber auch mit Form2.visible:=true unr Form2.visible:=false machen oder mit Form2.setFocus, so hab ich es bisher immer gemacht.
F34r0fTh3D4rk
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 5285
Erhaltene Danke: 29

Win Vista (32), Win 7 (64)
Eclipse, SciTE, Lazarus
BeitragVerfasst: Di 03.05.05 12:16 
dafür muss form2 aber angezeigt sein :)
Asgar
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 160

XP Home Edition
D5
BeitragVerfasst: Di 03.05.05 12:21 
für das visible nicht, wenn voher der visible wert auf false steht und mann ihn dan auf true setzt, kommt das formular in den vordergrund.