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

TCustomDBComboBox.UpdateAction

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

Declaration

Source position: dbctrls.pp line 772

public function TCustomDBComboBox.UpdateAction(

  AAction: TBasicAction

):Boolean; override;

Arguments

AAction

  

Action examined and updated in the method.

Function result

True when the action was updated in the method.

Description

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

TDataLink.UpdateAction

TComponent.UpdateAction


Version 3.2 Generated 2024-02-25 Home