BBjTopLevelWindow::getMenuBar

Description

Returns the BBjMenuBar object of the BBjWindow.

Syntax

Return Value

Method

BBjMenuBar

getMenuBar()

Parameters

None.

Return Value

Returns the BBjMenuBar object of the window.

Remarks

None.

Example

rem ' BBjTopLevelWindow::getMenuBar

sysgui = unt
open (sysgui)"X0"
sysgui! = bbjapi().getSysGui()

rem ' Creation flag bit $00000800$ creates a default menubar
window! = sysgui!.addWindow(50,50,200,100,"getMenuBar",$00090883$)
window!.setCallback(window!.ON_CLOSE,"eoj")
menubar! = window!.getMenuBar()
menu! = menubar!.getMenuAt(0)
process_events

eoj:
release

See Also

BBjAPI

BBjSysGui

BBjControl

BBjWindow

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.