<< Click to Display Table of Contents >> SetMenuBar SEToolBar |
![]() ![]() ![]() |
Purpose
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.
Prototype
METHOD SetMenuBar(oMenu, symTB) CLASS SEToolBar
Arguments
[<oMenu>] |
The menu to assign. |
[<symTB>] |
The symbolic name of the toolbar. Default is the first created MenuBar. |
Return
NIL