RAD Studio VCL Reference
|
Updates the state of an action.
function UpdateAction(Action: TBasicAction): Boolean; dynamic;
__fastcall Boolean UpdateAction(TBasicAction Action);
UpdateAction is used to update the state of an action. Action is a TBasicAction or any descendant.
UpdateAction first checks if the provided action is compatible with the component and then updates it. The return value is a boolean. A value of true is returned if the action was updated, and false otherwise.
Derived classes can override this method to implement a distinct way of handling action updates.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|