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

TDBText.UpdateAction

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

Declaration

Source position: dbctrls.pp line 299

public function TDBText.UpdateAction(

  AAction: TBasicAction

):Boolean; override;

Description

UpdateAction is an overridden Boolean function in TDBText. 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

TDataLink.UpdateAction

TBasicAction

TComponent.UpdateAction


Version 4.0 Generated 2025-05-03 Home