System.Actions.TContainedActionList.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
System.Actions.pas
System.Actions.hpp
System.Actions TContainedActionList

Description

Generates an OnUpdate event.

Typically, applications do not call the UpdateAction method. Instead, the action indicated by the Action parameter calls UpdateAction when informed by the application that it can update itself. It is possible, however, to call UpdateAction to generate an OnUpdate event even though this has not been initiated by the application.

UpdateAction invokes the OnUpdate event handler for the action list. It returns True if the event handler updates the action, False otherwise.

See Also