Vcl.DBCtrls.TDBLookupListBox.UpdateAction

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function UpdateAction(Action: TBasicAction): Boolean; override;

C++

virtual bool __fastcall UpdateAction(System::Classes::TBasicAction* Action);

Properties

Type Visibility Source Unit Parent
function public
Vcl.DBCtrls.pas
Vcl.DBCtrls.hpp
Vcl.DBCtrls TDBLookupListBox

Description

Updates an action component to reflect the current state of the DB lookup list box.

UpdateAction is called automatically when the CPU is idle to allow the DB lookup list box the opportunity of updating an action. For example, UpdateAction disables actions that require the dataset to be active when the dataset associated with the DataSource property is not active.

The Action parameter specifies the action component that should be updated.

See Also