Sign in Join
FPDoc Onlineexperiment

TCustomForm.ActiveDefaultControl property

Member of TCustomFormpublicIn unit Forms

Specifies the active default control on the form.

Declaration

pascal
property ActiveDefaultControl: TControl read FActiveDefaultControl write SetActiveDefaultControl;

Description

The active control which is the default control executed when the Enter key is pressed. When setting a new value for the property, a previous default control is notified of the change to the property value using the ActiveDefaultControlChanged method.

See also

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