FMX.ActnList.TActionLink.OnExecuteLinked
Delphi
property OnExecuteLinked: Boolean read IsOnExecuteLinked;
C++
__property bool OnExecuteLinked = {read=IsOnExecuteLinked, nodefault};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | FMX.ActnList.pas FMX.ActnList.hpp |
FMX.ActnList | TActionLink |
Description
Determines whether the OnExecute event handler of the action assigned to the action link should be distributed to the corresponding execution event handler of the client of the action link.
OnExecuteLinked provides the following behavior:
- OnExecuteLinked returns
False
if the action, assigned to the action link, belongs to TCustomViewAction and the component of this action equals the client of the action link.
- This means that a value of the OnExecute event handler of TCustomViewAction type actions is not distributed to the appropriate event handler of a client of the action link.
- Also OnExecuteLinked returns
False
if the client does not support an appropriate execution event.
- Otherwise, OnExecuteLinked returns
True
.
- This means that a value of the OnExecute property of a linked action is distributed to the appropriate event handler of a client of the action link. Usually this is the OnClick event handler.
For more information, see IsOnExecuteLinked.