API:Vcl.ActnMenus.TActionMainMenuBar.ActionManager

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ActionManager: TCustomActionManager read FActionManager write SetActionManager;

C++

__property ActionManager;

Properties

Type Visibility Source Unit Parent
property published
Vcl.ActnMenus.pas
Vcl.ActnMenus.hpp
Vcl.ActnMenus TActionMainMenuBar

Description

Specifies the action manager component that is associated with the action band.

Vcl.ActnMenus.TActionMainMenuBar.ActionManager inherits from Vcl.ActnMan.TCustomActionBar.ActionManager. All content below this line refers to Vcl.ActnMan.TCustomActionBar.ActionManager.

Specifies the action manager component that is associated with the action band.

Use ActionManager to access the action manager that uses this action band to render UI elements it manages. Typically, this association is created when you drag actions from the action manager and drop them on the action bar. When an action is dropped on an action band and the ActionManager property is not assigned, the ActionManager property is automatically assigned to the action manager that manages the action that was dropped on the action band.

At run time, you can perform the equivalent operation to dragging an action onto the action band by setting the ActionBar property of one of the action clients that the action manager's ActionBars property lists so that it specifies this component.

See Also