Show: Object Pascal C++
Display Preferences

FMX.Controls.TControl.Enabled

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

property Enabled: Boolean read FEnabled write SetEnabled stored EnabledStored nodefault;

C++

__property bool Enabled = {read=FEnabled, write=SetEnabled, stored=EnabledStored, nodefault};

Properties

Type Visibility Source Unit Parent
property public
FMX.Controls.pas
FMX.Controls.hpp
FMX.Controls TControl

Description

Specifies whether the control responds to mouse, keyboard, and timer events.

Use Enabled to change the availability of the control to the user. To disable a control, set Enabled to False. Some disabled controls appear dimmed (for example: buttons, check boxes, labels), while others (container controls) simply lose their functionality without changing their appearance. If Enabled is set to False, the control ignores mouse, keyboard, and timer events.

To re-enable a control, set Enabled to True.

This property applies to all TControl descendants.

See Also

Personal tools
Translations