Autor Beitrag
kinghavi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 37



BeitragVerfasst: Mi 07.03.07 14:35 
Servus

für mein Projekt benutze ich verschieden Formulare!

zum anfang werden alle erstellt und wenn ich mit form2.show ein formular aufrufe, dann wird ja das oncreate eriengis ausgelöst. Wenn ich nun das schließe und dann wieder in formualr 1 arbeite und dann abermals form2.show wähle wird das oncreate ereignis nicht nochmal ausgeführt, wie kann ich das ändern, dass das immer wieder gemacht wird?

danke schön
elundril
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3747
Erhaltene Danke: 123

Windows Vista, Ubuntu
Delphi 7 PE "Codename: Aurora", Eclipse Ganymede
BeitragVerfasst: Mi 07.03.07 14:40 
nimm das on Show ereignis! ;-) das wird jedes mal beim anzeigen ausgelöst!

lg el

_________________
This Signature-Space is intentionally left blank.
Bei Beschwerden, bitte den Beschwerdebutton (gekennzeichnet mit PN) verwenden.
bs-Hobbit
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 46

Windows Xp (Home/Prof.), Windows Server 2003, Linux
D7,D2005
BeitragVerfasst: Mi 07.03.07 14:51 
Jep, das OnCreate wird nur ein einziges mal ausgelöst^^
und das wenn du das programm startest ;)
Billi Berserker
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 44



BeitragVerfasst: Mi 07.03.07 15:03 
Oder einfach dem Formular eine public procedure spendieren die du selbst kurz vor dem form.show aufrufst.
kinghavi Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 37



BeitragVerfasst: Mi 07.03.07 15:11 
klappt schon mit on show, da hätte ich auch selbst drauf kommen können, danke schön.