Icon OnDestroy Event

property OnDestroy: TNotifyEvent

Available In: Visual Client Applications

This event is triggered before the form is destroyed. Use this event to dispose of any instances or resources that may have been allocated in the OnCreate event handler.
Image