A menu bar is a region where computer menus are housed. Its purpose is to house window- or application-specific menus which provide access to such functions as opening files, interacting with an application, or help. You add IMenuItem objects to the menu bar to construct a menu.
Contents |
Sample
Public Sub Form_Load() Dim tmpGroupFile As VBMenuGroup = Me.MenuBar.createMenuGroup(Null, "File", "File") Call Me.MenuBar.createMenu(tmpGroupFile, "New", "New") Call Me.MenuBar.createMenu(tmpGroupFile, "Open", "Open") End Sub Public Sub Form_MenuClick(MenuItem As VB#IMenuItem) MsgBox "Caption: " & MenuItem.Caption & " - ControlID: " & MenuItem.ControlID End Sub
Context/PopupMenu
todo ...
Differences to VB6
With VB6, the menubar is viewable at design time. With Jabaco, it is not viewable at design time
Related
todo ...

