Data.DB.TDataLink.ExecuteAction

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: public
Source:
Data.DB.pas
Data.DB.hpp
Unit: Data.DB
Parent: TDataLink

Delphi

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

C++

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

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