RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TMainMenu Class

TMainMenu encapsulates a menu bar and its accompanying drop-down menus for a form.

Pascal
TMainMenu = class(TMenu);
C++
class TMainMenu : public TMenu;

Menus

Use TMainMenu to provide the main menu for a form. To begin designing a menu, add a main menu to a form, and double-click the component.  

TMainMenu introduces properties and methods for merging the drop-down menus of the main menu with the main menu of another form. 

TMainMenu introduces properties and methods for assisting in the menu negotiation process of an OLE container.

Tip: To create a menu that users can configure at runtime, use the TActionMainMenuBar component with an action manager instead.
 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!