Sign in Join
FPDoc Onlineexperiment

TApplication.MoveFormFocusToChildren property

Member of TApplicationpublicIn unit Forms

Indicates if an active control is focused when a form receives focus.

Declaration

pascal
property MoveFormFocusToChildren: Boolean read FMoveFormFocusToChildren write FMoveFormFocusToChildren default True;

Description

MoveFormFocusToChildren is a Boolean property which indicates if an active control is focused when a form receives focus in the application.

The default value is True. When set to False, the window or form will still receive focus, but a child control is not selected.

Used in the SetActive method in TCustomForm.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.