Autor Beitrag
mimi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 3458

Ubuntu, Win XP
Lazarus
BeitragVerfasst: Fr 05.09.03 17:04 
Hallo,
ich habe eine unit und in diese unit möchte ich jetzt abfragen, ob mein programm beendent wird und wenn ja soll was ausgeführt werden, wie kann ich das am besten machen.

ich möchte jetzt nicht, das ich im hauptform einfach unter onclose hinschreibe das er dieses ausführen soll.

genauer gesagt befindet sich in diese unit eine klasse.
(habe gesucht unter beenden im winapi form, habe aber nichts gefunden :(

_________________
MFG
Michael Springwald, "kann kein englisch...."
Luckie
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Fr 05.09.03 17:12 
Und warum nicht im OnClose? Alternativ gäbe es noch OnCloseQuery.
w3seek
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 64

Win XP; Win 2k; Suse 9.0
D5 Std, D6 Personal
BeitragVerfasst: Fr 05.09.03 18:07 
finalization ?

_________________
OS: WinXP, 2000, Debian
Software: MingW, Delphi 5 Standard, Delphi 6 Personal, FreePascal
mimi Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 3458

Ubuntu, Win XP
Lazarus
BeitragVerfasst: Sa 06.09.03 16:05 
Zitat:

Und warum nicht im OnClose? Alternativ gäbe es noch OnCloseQuery

weil ich eine extra unit habe die drauf keinen zugrief hat,

was ist finalization wird das aufgerufen, sobalt ich mein programm beende oder wann wird das aufgrufen und wo muss ich das hinschreiben ?

_________________
MFG
Michael Springwald, "kann kein englisch...."
Luckie
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Sa 06.09.03 16:23 
Steht alles in der Hilfe. :wink:
mimi Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 3458

Ubuntu, Win XP
Lazarus
BeitragVerfasst: Sa 06.09.03 21:19 
danke....

_________________
MFG
Michael Springwald, "kann kein englisch...."