Icon OnDestroy Event

property OnDestroy: TNotifyEvent

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