TIP: Click on subject to list as thread! ANSI
echo: delphi
to: FRANCOIS PIETTE
from: BRYAN SMITH
date: 1996-12-18 10:05:00
subject: FormCloseQuery

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)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.