TDBText.UpdateAction function
Updates the specified action to reflect the current state in the linked dataset.
Declaration
function UpdateAction(AAction: TBasicAction): Boolean; overrideDescription
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
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
