Einzelnen Beitrag anzeigen

Delphi.Narium

Registriert seit: 27. Nov 2017
2.415 Beiträge
 
Delphi 7 Professional
 
#6

AW: messagebox mit onclose??

  Alt 9. Mai 2019, 11:50
Putting a Close() directly in the OnActivate event of a form sounds adventurous.

What is the point of a form when you have no chance of using it? Consider moving this to a different event.
mein Ziel ist,wenn ich auf (ok) Button von MessageBox clicke,Die Form close??
Mal den Debugger befragt, ob die entsprechende Bedingung je erfüllt ist?

Ansonsten mal in die Hilfe schauen, welche Rückgabewerte von MessageBox beim Klick auf bestimmte Buttons geliefert wird.
  Mit Zitat antworten Zitat