----- Original Message -----
From: "Micha Nelissen" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, March 21, 2006 9:07 AM
Subject: Re: [lazarus] TXMLPropertyStorage question
Felipe Monteiro de Carvalho wrote:
"You can easily cope with this I think. Write an onclosequery (or
onclose)
handler for the main form. When the form closes, in the handler loop
through
Screen.Forms and call close on each form (except if it equals Self). This
will trigger onclose in each form which is what you are after. In
onclosequery for the main form dialogs are still functional so you'd be
able
ask the user. "
Sounds like a hack from my POV. Where is the backward incompatibility
problem to delphi exactly when we fire OnClose when it's supposed to be
fired ?
So how would I fire an onclose event when objects are created with no parent
object (TForm.Create(nil))?
Darius
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives