RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDBLookupListBox.UpdateAction Method

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

Pascal
function UpdateAction(Action: TBasicAction): Boolean; override;
C++
virtual __fastcall Boolean UpdateAction(TBasicAction Action);

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!