Data.DB.TDataLink.ExecuteAction

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function ExecuteAction(Action: TBasicAction): Boolean; dynamic;

C++

DYNAMIC bool __fastcall ExecuteAction(System::Classes::TBasicAction* Action);

Properties

Type Visibility Source Unit Parent
function public
Data.DB.pas
Data.DB.hpp
Data.DB TDataLink

Description

Invokes an action with the datasource as its target.

ExecuteAction is called automatically when the user invokes an action with the Owner as a target. The Action parameter specifies the action that was invoked. ExecuteAction checks whether the associated datasource can handle the action, and if so, forwards the action to the datasource.

ExecuteAction returns true if the action was successfully dispatched, and false if the TDataLink could not handle the action.

See Also