Show: Object Pascal C++
Display Preferences

FMX.Controls.TControl.EnableExecuteAction

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

property EnableExecuteAction: boolean read FEnableExecuteAction write FEnableExecuteAction;

C++

__property bool EnableExecuteAction = {read=FEnableExecuteAction, write=FEnableExecuteAction, nodefault};

Properties

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

Description

Defines whether the control can use Action.OnExecute for mouse clicks, key pressing, and input on touch devices (gestures).

If EnableExecuteAction is True and the OnClick event handler is not assigned (or is equal to Action.OnExecute), then Click executes the assigned Action, otherwise the OnClick event handler is executed.

Click is an event handler for the OnClick event. It is automatically called when the left mouse button is pressed and released with the pointer over the control.

EnableExecuteAction is True in TTextControl, TImageControl, TSwitch, and their descendants, while False in others.

See Also

Application Samples

Personal tools
Translations