[Overview][Constants][Types][Classes][Procedures and functions][Index] |
True if the control is the Cancel or Default button.
Source position: stdctrls.pp line 1254
public property TCustomButton.Active : Boolean |
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.
|
Updates the button and/or parent form when the active default control has been changed. |
|
|
True if the button is the default button in a modal form. |
|
|
Specifies the active default control on the form. |
Version 4.0 | Generated 2025-05-03 | Home |