Introduces an interface for setting the enabled state of a client.
procedure SetEnabled(Value: Boolean); override;
virtual __fastcall SetEnabled(Boolean Value);
The associated action calls SetEnabled when its Enabled property changes so that the action link can propagate the new Enabled value to the client object.
Value specifies the new value of the Enabled property.
As implemented in TActionLink, SetEnabled does nothing. Descendant classes override SetEnabled to set the client property that corresponds to the action's Enabled property if the IsEnabledLinked method returns true.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!