FMX.Objects.TPaintBox.Enabled

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Enabled: Boolean read FEnabled write SetEnabled stored EnabledStored default 1;

C++

__property Enabled = {default=1};

Properties

Type Visibility Source Unit Parent
property published
FMX.Objects.pas
FMX.Objects.hpp
FMX.Objects TPaintBox

Description

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

FMX.Objects.TPaintBox.Enabled inherits from FMX.Controls.TControl.Enabled. All content below this line refers to FMX.Controls.TControl.Enabled.

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