Vcl.Forms.TScreen.OnActiveFormChange

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnActiveFormChange: TNotifyEvent  read FOnActiveFormChange write FOnActiveFormChange;

C++

__property System::Classes::TNotifyEvent OnActiveFormChange = {read=FOnActiveFormChange, write=FOnActiveFormChange};

Properties

Type Visibility Source Unit Parent
event public
Vcl.Forms.pas
Vcl.Forms.hpp
Vcl.Forms TScreen

Description

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

Code Examples