Just did a test app to check my memory - CloseQuery is fired when windows
shuts down - but Close isn't.

Max

> It's simpler than that. If you respond to the Application Main Form's
> OnCloseQuery event and refuse to close, by setting CanClose to False, -
> then windows won't close either. Once CanClose is True, after your tidy
up
> function, windows will exit.
Sounds great I will try that out first thing on the morrow. Formclose
doesnt
get a look in eh after the canclose is true.
Windows is not fussy about cleaning up floating bitmaps and graphics prior
to closure? I put them all in the formclose part.
Cheers,
Al+

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to