FMX.StdCtrls.TButton.Cancel

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Cancel: Boolean read FCancel write FCancel default False;

C++

__property bool Cancel = {read=FCancel, write=FCancel, default=0};

Properties

Type Visibility Source Unit Parent
property published
FMX.StdCtrls.pas
FMX.StdCtrls.hpp
FMX.StdCtrls TButton

Description

Determines whether the button's OnClick event handler executes when the ESCAPE key is pressed.

If Cancel is True, the button's OnClick event handler executes when you press the ESCAPE key. Although an application can have more than one Cancel button, the form calls the OnClick event handler only for the first visible button in the tab order.

See Also