TDBCheckBox.ExecuteAction function
Implements support for TBasicAction in the data-aware control.
Declaration
function ExecuteAction(AAction: TBasicAction): Boolean; overrideArguments
AAction | Action examined an executed in the method. |
Function result
True if the action was executed in the method.Description
ExecuteAction is an overridden
Boolean function in
TDBCheckBox. It extends the method from the ancestor class to
include support for use of the internal
TFieldDataLink to execute
the action.
AAction is the
TBasicAction examined and potentially
executed in the method.
The return value is True when AAction is executed in in the
method.
ExecuteAction calls the inherited method. If AAction is not handled in the
ancestor class, the internal TFieldDataLink is used to execute the
action. No actions are performed in the method when the field data link has
not been assigned, or when the action is not supported for the data link.
Use Action to set the TBasicAction assigned to the
ActionLink for the control, and executed in the Click
method for the control.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
