|
I thought that
I had already simply overridden it, and went through all sorts of mental
gymnastics.
Then checked the Close button (TBitbtn) itself.
It seems that a couple of years ago I'd reset it to
Custom and executed Application.Terminate in its on click
handler.
Reset Kind to Close and all was fine the QueryClose runs
sweet.
This then rasies the isssue that Application.Terminate
appears to cut to the chase and miss out the various form's QueryClose
routines entriely.
Useful probably for a forced shutdown?
In the normal course of events [no pun intended], it seems
to be triggered after the actual form has closed, so calling it
directly from within a form jumps to that point of the shutdown?
Paul
-----------------
Not a
problem. We have message dialog code in CloseQuery - overide rather than event
handler.
_______________________________________________ Delphi mailing list [EMAIL PROTECTED] http://ns3.123.co.nz/mailman/listinfo/del |
_______________________________________________ Delphi mailing list [EMAIL PROTECTED] http://ns3.123.co.nz/mailman/listinfo/delphi
