Mike Sue-Ping
Cambridge, Ontario, Canada
General information
Category:
Object Oriented Programming
Title:
How to destroy this object?
Woops, I accidentally put this in the Picture category.
I have a grid on a form that will create and show a search object in its keypress event. The form also contains a close button. When I select the close button, the form will not destroy when the search object is showing. I have to release the search object before the form will close.
My question is, since the search object is created by the grid and a reference to the search object is stored to a custom grid property, what event/method can I tap into when the form tries to close in order to release and destroy the reference to the search object?
TIA
Mike
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only