appevents OnActiveFormChange event
Return to Introduction  Previous page  Next page
Applies to
acAppEvents component.  

property OnActiveFormChange: TNotifyEvent;  

OnActiveFormChange occurs immediately after a new form becomes active in a multi-form application.  
Write an OnActiveFormChange event handler to take specific action when a new form becomes active. OnActiveFormChange occurs when the active form for the application changes, not when a form becomes active because the application becomes active.  

See also
OnActiveControlChange event.