Vcl.Controls.TControl.GetEnabled
Delphi
function GetEnabled: Boolean; virtual;
C++
virtual bool __fastcall GetEnabled(void);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Vcl.Controls.pas Vcl.Controls.hpp |
Vcl.Controls | TControl |
Description
Returns the value of the Enabled property.
GetEnabled is the read implementation of the Enabled property.
Override GetEnabled and SetEnabled to change the implementation of the Enabled property. For example, a descendant of TControl might change the way the Enabled property interacts with an associated action.