Sign in Join
FPDoc Onlineexperiment

TCustomDBListBox.UpdateAction function

Member of TCustomDBListBoxpublicIn unit DBCtrls

Updates the state for the specified action.

Declaration

pascal
function UpdateAction(AAction: TBasicAction): Boolean; override

Arguments

AAction

Action updated in the method.

Function result

True if the action was updated in the method.

Description

UpdateAction is an overridden Boolean function used to update the state of the TBasicAction (or descendant) instance in AAction. The return value is True when the action is updated in the method.

UpdateAction calls the inherited method. When the return value is False and a linked dataset is available in the class instance, the UpdateAction method in TFieldDataLink is called to update the action.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.