Vcl.ActnMenus.TCustomActionPopupMenu.ExecAction

From RAD Studio API Documentation

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. {{#multireplace:Vcl.ActnMenus.TCustomActionPopupMenu.ExecAction|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:Vcl.ActnMenus.TCustomActionMenuBar.ExecAction|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:Vcl.ActnMenus.TCustomActionMenuBar.ExecAction|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.

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