General information
Category:
Forms & Form designer
First set the KeyPreview property of Form to True. This will force to KeyPress of Form to execute before KeyPress of any control.
Next step is simple:
If you have any global references in form to some other object release this reference. For example :
oNode = NULL (If You forgot to close all references Form will not be closed !!!)
Last step :
Add code
=ThisForm.Release()
Previous
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