SetMenuBar SEToolBar

<< Click to Display Table of Contents >>

Navigation:  SEUIXP Classes for X# > Classes > SEToolBar >

SetMenuBar SEToolBar

Previous pageReturn to chapter overviewNext page


Assigns a menu to a menu bar and generates automatically the toolbar buttons from the root menu.

If an accelerator object is included in the menu and the current owner of the toolbar has no own accelerator object the accelerator object of the menu is assigned to the current owner of the toolbar.  

A menu bar is a toolbar which was created with the method AddMenuBar() .

MenuBars are working only with the classes SETopAppWindow and SETopDataWindow.

They are working not with MDI shellwindows.

For normal toolbars this method has no effect.



METHOD SetMenuBar(oMenu, symTB) CLASS SEToolBar




The menu to assign.


The symbolic name of the toolbar. Default is the first created MenuBar.