Vcl.ActnMenus.TCustomAddRemoveItem.SetEnabled
Delphi
procedure SetEnabled(Value: Boolean); override;
C++
virtual void __fastcall SetEnabled(bool Value);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.ActnMenus.pas Vcl.ActnMenus.hpp |
Vcl.ActnMenus | TCustomAddRemoveItem |
Description
Sets the value of the Enabled property.
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.