Sign in Join
FPDoc Onlineexperiment

TDataLink.ExecuteAction function

Member of TDataLinkpublicIn unit DB

Execute action.

Declaration

pascal
function ExecuteAction(Action: TBasicAction): Boolean; virtual

Arguments

Action

Action to execute.

Function result

Action was executed successfully.

Description

ExecuteAction implements action support. It should never be necessary to call ExecuteAction from program code, as it is called automatically whenever a target control needs to handle an action. This method must be overridden in case any additional action must be taken when the action must be executed. The implementation in TDatalink checks if the action handles the datasource, and then calls Action.ExecuteTarget, passing it the datasource. If so, it returns True.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.