On 16 Dec 96 Francois Piette said to Bryan Smith...
BS> In my TMainForm.FormCloseQuery, I have a ShowMessage() statement. But
BS> if I close the program with Application.Terminate, I don't see that
BS> message.Obviously there is something that I don't understand. Can
BS> somebody please explain when .FormCloseQuery is entered, and when it is
BS> not ? I thought it was automatic whenever a form had to close, for
BS> whatever purpose.
FP> It is called when the form is closed by the user. It should also be
FP> called if you send the message WM_CLOSE to the corresponding window.
Are you saying that Application.Terminate kills the application without
closing the windows ? I thought A.T would have to close all open windows,
so I'm still puzzled as to why I don't see the message.
--- PPoint 2.00
---------------
* Origin: Kingston, Canada (1:249/109.11)
|