RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TControl.GetEnabled Method

Returns the value of the Enabled property.

Pascal
function GetEnabled: Boolean; virtual;
C++
virtual __fastcall Boolean GetEnabled();

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!