Autor Beitrag
Stoffel1984
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 219

Win NT, Win 2000
D6 Prof
BeitragVerfasst: So 28.09.03 12:51 
Hallo,

ich habe ein Programm geschrieben das eigentlich soweit ganz gut mit Exception Handlern ausgerüstet ist. Für den Fall das ich etwas übersehen haben sollte möchte ich jetzt eine MessageBox ausgeben. Mit einem Text wie "undefinierte Fehlermeldung! Programm wird beendet" oder sowas in der Art. Diese Fehlermeldung soll das ganze Projekt vor einem Absturz bewahren aber natürlich nicht zum Einsatz kommen wenn in den Funktionen bzw Proceduren bereits ein try ... except steht.

Wie realisiere ich sowas?

Schonmal jetzt vielen Dank!

Stoffel
mirage228
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 338

Win 7 Prof.
Delphi 2005 Prof., Delphi 2010 Prof.
BeitragVerfasst: So 28.09.03 19:29 
schau dir mal Application.OnException an (findet du auch ein gutes Beispiel in der Delphi hilfe zu!)

mfG
mirage228

_________________
May the source be with you, stranger.
Stoffel1984 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 219

Win NT, Win 2000
D6 Prof
BeitragVerfasst: So 28.09.03 21:19 
Vielen Dank!

Hast einen gut bei mir!

Stoffel