Skip to main content

TdxBarManager.MainMenuControl Property

Returns the current bar manager’s toolbar control that represents a main menu.

Declaration

property MainMenuControl: TdxBarControl read;

Property Value

Type
TdxBarControl

Remarks

A window with a bar manager can contain only a single toolbar control that represents a main menu. To access the main menu control, use the MainMenuControl property.

To access a toolbar that represents a main menu, use the MainMenuBar property. To specify whether a particular toolbar is a main menu, use its IsMainMenu property.

See Also