Vcl.Controls.TControl.GetEnabled

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetEnabled: Boolean; virtual;

C++

virtual bool __fastcall GetEnabled();

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.

See Also