TScreen.ActiveCustomForm property
The TCustomForm instance which has the focus.
Declaration
property ActiveCustomForm: TCustomForm read FActiveCustomForm;Description
ActiveCustomForm is a read-only
TCustomForm property
which contains the active custom form instance which has focus on the screen.
The property value is updated in TCustomForm methods like
SetFocusedControl and
MoveToDefaultPosition. It is also
updated in
TApplication methods like
ControlDestroyed.
Use ActiveForm to get the TForm instance that has focus
on the screen.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
