RAD Studio VCL Reference
TCustomAddRemoveItem.SetEnabled Method

Sets the value of the Enabled property.

procedure SetEnabled(Value: Boolean); override;
virtual __fastcall SetEnabled(Boolean Value);

SetEnabled is the protected write implementation of the Enabled property. 

Value is the new value to set. If Value is true, the add/remove menu item is enabled so that users can click it. If Value is false, the add/remove item is disabled, so that it appears gray and has no effect when clicked. 


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