[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'DB' (#fcl)


Update handler for actions


Source position: db.pas line 1830

public function TDataLink.UpdateAction(

  Action: TBasicAction

):Boolean; virtual;




Action to check

Function result

True if the action handles the datalink's datasource.


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



Execute action

Documentation generated on: May 14 2021