Dear Matthew,
> Are there default situations where an application will reject a message to
> close, e.g. if it was too busy doing other things etc?
type TCloseQueryEvent = procedure(Sender: TObject; var CanClose: Boolean) of
object;
property OnCloseQuery: TCloseQueryEvent;
That is event OnCloseQuery for. You may reject close form by simply set
CanClose to False.
Best Regards
Leigh Wanstead
----- Original Message -----
From: "Matthew Comb" <[EMAIL PROTECTED]>
To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]>
Sent: Monday, September 11, 2000 9:49 AM
Subject: [DUG]: messages.
> Hi people, this is a theoretical question.
>
> Are there default situations where an application will reject a message to
> close, e.g. if it was too busy doing other things etc?
>
> Can messages just get lost if the application is too busy? or will they
> always get queued?
>
> Matt.
>
> --------------------------------------------------------------------------
-
> New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> Website: http://www.delphi.org.nz
> To UnSub, send email to: [EMAIL PROTECTED]
> with body of "unsubscribe delphi"
>
>
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"