Vcl.ExtCtrls.TEditButton.Enabled

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Enabled: Boolean read GetEnabled write SetEnabled default True;

C++

__property bool Enabled = {read=GetEnabled, write=SetEnabled, default=1};

Properties

Type Visibility Source Unit Parent
property published
Vcl.ExtCtrls.pas
Vcl.ExtCtrls.hpp
Vcl.ExtCtrls TEditButton

Description

Specifies whether the embedded button is enabled.

Use Enabled to enable or disable a embedded button. If Enabled is true, the button OnClick event handler is called when the user selects the item with the mouse. If Enabled is false, the embedded button appears dimmed and the user cannot select it. However, calling the button OnClick event handler method works even when Enabled is false.

See Also

Code Examples