Badly phrased, should read:

My component editor creates a form that is used to interact with the object
inspector at deisgn time to modify sub-components and their properties.
This form is displayed when the Edit method of the component editor is
called (ie. executeverb(0)).

This is fine. But the component can be deleted or the unit/project can be
closed while the component editor's form is open - in which case I need my
component editor to be notified so it can free the form. At the moment the
form just stays open and an access violation occurs because it doesn't know
that the component is no longer there.

Any suggestions?

Thanks,

Phil.
[EMAIL PROTECTED]




From: [EMAIL PROTECTED] AT tawa on 18/05/99 11:41 ZE12

To:   Multiple recipients of list delphi <[EMAIL PROTECTED]> AT
      tawa@kauripo@CCMAIL
cc:    (bcc: Phillip Middlemiss/NZ Forest Research Institute/NZ)
Subject:  [DUG]:  freeing a component editor when the component is des




Hi,

How do I ensure that my component editor is notified when the component it
is editing is about to be destroyed (or the unit closed)?

Thanks,

Phil Middlemiss
[EMAIL PROTECTED]


---------------------------------------------------------------------------
    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