TCustomButton.Active property
True if the control is the Cancel or Default button.
Declaration
property Active: Boolean read FActive stored False;Description
Active is a read-only
Boolean property which indicates
if the control is the active default control for the parent form.
The property value is updated in ActiveDefaultControlChanged when
the focus for the control has been changed. It is set to True when
the button gains focus and becomes the ActiveDefaultControl on the
parent form. It is set to False when another control is set as the
ActiveDefaultControl on the parent form. It is set to the value in the
Default property when the ActiveDefaultControl is set to
Nil.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
