API:Vcl.ActnMenus.TCustomActionPopupMenu.ExecAction

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure ExecAction(Action: TContainedAction); override;

C++

virtual void __fastcall ExecAction(System::Actions::TContainedAction* Action);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.ActnMenus.pas
Vcl.ActnMenus.hpp
Vcl.ActnMenus TCustomActionPopupMenu

Description

Emits a sound and executes the specified Action.

Vcl.ActnMenus.TCustomActionPopupMenu.ExecAction inherits from Vcl.ActnMenus.TCustomActionMenuBar.ExecAction. All content below this line refers to Vcl.ActnMenus.TCustomActionMenuBar.ExecAction.

Emits a sound and executes the specified Action.

The ExecAction method verifies that the TCustomActionMenuBar component is not in the design mode and if the supplied Action is not nil, emits a sound and executes the specified Action.

See Also