RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDBRadioGroup.UpdateAction Method

Updates an action to reflect the current state of the TDBRadioGroup.

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

UpdateAction is called automatically when the application is idle to give the TDBRadioGroup an opportunity to update associated actions. This allows actions to be grayed, checked, or to otherwise reflect the status of the TDBRadioGroup they target. 

The Action parameter specifies the action component that should be updated. UpdateAction returns true if the action component now reflects the state of the component, and false if it did not know how to update the action. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!