Back


Lennie's Weekly Tip: Life-cycle of a Form

28 November 1999 Ref. 06


When you want to write event-handlers for a form (TForm) you need know the order in which each event occurs. The following table outlines the order of these events.
 
 

Action Event
-------- --------
Create OnCreate
Show OnShow
Activate OnActivate
ReSize OnResize
Paint OnPaint
Close Query OnCloseQuery
Close OnClose
Deactivate OnDeactivate
Hide OnHide
Destroy OnDestroy


Back