TDataLink.UpdateAction function
Update handler for actions.
Declaration
function UpdateAction(Action: TBasicAction): Boolean; virtualArguments
Action | Action to check. |
Function result
True if the action handles the datalink's datasource.Description
UpdateAction implements action update support. It should never be necessary to call
UpdateAction
from program code, as it is called automatically whenever a target control needs to update an action. This method
must be overridden in case any specific action must be taken when the action must be updated. The implementation
in
TDatalink checks if the action handles the datasource, and then calls
Action.UpdateTarget,
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.
