Occurs when the user object or control is destroyed, immediately after the Close event of a window.
Event ID |
Objects |
---|---|
pbm_destructor |
All objects |
None
Long. Return code choices (specify in a RETURN statement):
0 Continue processing
When a window is closed, each control’s Destructor event destroys the control and removes it from memory. After they have been destroyed, you can no longer refer to those controls in other scripts. If you do, a runtime error occurs.