Responding to delete event when deleting a Control in the Pa
Posted: Fri Aug 07, 2009 12:28 pm
by Marcelle Goslin >> Wed, 3 Dec 2003 5:53:57 GMT
Hi All
I have a subclassed Control, and I would like to do some stuff if it gets deleted in the Painter while in development mode.
Is there a way I can trap the event?
It seems as though the Painter creates a BaseForm instance which has a deletedObjects collection. I thought if I could re-implement the method that adds deleted controls to this collection, I could slot my bits in there.
Any advise appreciated.
TIA
Marcelle Goslin
Hi All
I have a subclassed Control, and I would like to do some stuff if it gets deleted in the Painter while in development mode.
Is there a way I can trap the event?
It seems as though the Painter creates a BaseForm instance which has a deletedObjects collection. I thought if I could re-implement the method that adds deleted controls to this collection, I could slot my bits in there.
Any advise appreciated.
TIA
Marcelle Goslin