TdxBarApplicationMenu Class
The Office 2007 Ribbon Application Menu.
Declaration
TdxBarApplicationMenu = class(
TdxBarCustomApplicationMenu,
IdxRibbonApplicationMenu
)
Remarks
To apply this menu style, link the TdxBarApplicationMenu
component to the Ribbon’s ApplicationButton.Menu property.
The Application Menu contains two panels:
The left panel provides a main menu. This menu can be built as any other regular pop-up menu (see TdxBarCustomPopupMenu and the Customizing Popup Menu help topics to learn more);
The right panel displays a list of shortcuts (see the ExtraPane property).
Under these panels, a collection of buttons is displayed. Use the Buttons property to populate this collection and manage its contents.
Note: for complete Ribbon UI consistency (see Ribbon Application Menu), a custom background image, specified via the menu’s BackgroundBitmap property (or via the bar manager’s Backgrounds.SubMenu property), is suppressed and the menu is provided with a built-in background.