I think you are mistaken about the dtor not being called at design time.

I've attached a simple component that has Destroy overridden.
It is called at design time.   (I get the "Being Destroyed" message
at designtime if i delete the component from a form - or close the
form etc)

ns


-----Original Message-----
From: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
To: Multiple recipients of list delphi <[EMAIL PROTECTED]>
Date: 03 August 2000 03:26
Subject: [DUG]: Deleting components at design time


Can anyone tell me how I can trap deleting a component from a form (from
within the component) at design time.  It doesn't seem to call the
destructor.


Bob Osborn



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

Bevel1.pas

Reply via email to