[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'DBCtrls' (#lcl)

TDBCalendar.UpdateAction

Updates the specified action to reflect the current state in the linked dataset.

Declaration

Source position: dbctrls.pp line 1288

public function TDBCalendar.UpdateAction(

  AAction: TBasicAction

):Boolean; override;

Arguments

AAction

  

Action examined and updated in the method.

Function result

True if the action was updated in the method.

Description

UpdateAction is an overridden Boolean function in TDBCalendar. UpdateAction is called when the Application enters an idle state to ensure that the action reflects the current state for a linked dataset.

AAction is the TBasicAction updated in the method.

UpdateAction calls the inherited method, and when the internal dataset link has been assigned, executes its UpdateAction method. The return value is True when AAction is updated using either the inherited method, or the method in the linked dataset. The return value is False when AAction could not be updated in the method.

See also

TBasicAction

TComponent.UpdateAction

TDataLink.UpdateAction


Version 4.0 Generated 2025-05-03 Home