Vcl.ComCtrls.TCustomStatusBar.ExecuteAction
Delphi
function ExecuteAction(Action: TBasicAction): Boolean; override;
C++
DYNAMIC bool __fastcall ExecuteAction(System::Classes::TBasicAction* Action);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TCustomStatusBar |
Description
Processes actions for the status bar.
When an action executes, the application makes a series of calls to respond to that action. If, in the course of that processing, the application identifies the status bar as a potential target of the action, it calls the status bar's ExecuteAction method.
If the action in a hint action (THintAction), ExecuteAction checks the AutoHint property, and if it is true, displays the hint and returns true. Otherwise, it allows the inherited method to respond to any other actions.
The Action parameter specifies the action that was invoked.
ExecuteAction returns true if the action was successfully dispatched, and false if the component could not handle the action.