Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Cache
indextrue
refresh100d
showRefreshtrue
iddoc
titleRefresh page
showDatetrue
retryEnable

servoy sReturnTypes2100%height: 30px;2Supported ClientssWordListSmartClientsWordListWebClient

servoy sSummary12%30%58%height: 30px;3Methods SummaryAdd a menu to the menubar.Add a menu to the menubar.Get the menu at the selected index (starting at 0).Get the number of (top level) menu's.Retrieve the index of the item by text.voidRemove all menus from the menubar.voidRemove the menu(s) at the selected index/indices.voidReset the menubar to the default.voidShow/hide the menu bar

functionservoy sDetail2100%height:30px2Methods DetailsaddMenuname

addMenu()

dessIndent
Add a menu to the menubar.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient
sam

Sample

sIdentjavascript
lastDetailRowaddMenuname

addMenu(index)

dessIndent
Add a menu to the menubar.
prs

Parameters

sIndentindex ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient
sam

Sample

sIdentjavascript
lastDetailRow
getMenuname

getMenu(index)

dessIndent
Get the menu at the selected index (starting at 0).
prs

Parameters

sIndentindex ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient
sam

Sample

sIdentjavascript
lastDetailRow
getMenuCountname

getMenuCount()

dessIndent
Get the number of (top level) menu's.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient
sam

Sample

sIdentjavascript
lastDetailRow
getMenuIndexByTextname

getMenuIndexByText(name)

dessIndent
Retrieve the index of the item by text.
prs

Parameters

sIndentname ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient
sam

Sample

sIdentjavascript
lastDetailRow
removeAllMenusname

removeAllMenus()

dessIndent
Remove all menus from the menubar.
clients

Supported Clients

sIndentSmartClient,WebClient
sam

Sample

sIdentjavascript
lastDetailRow
removeMenuname

removeMenu(index)

dessIndent
Remove the menu(s) at the selected index/indices.
prs

Parameters

sIndentindexarray of one or more indexes corresponding to menus to remove
clients

Supported Clients

sIndentSmartClient,WebClient
sam

Sample

sIdentjavascript
lastDetailRow
resetname

reset()

dessIndent
Reset the menubar to the default.
clients

Supported Clients

sIndentSmartClient,WebClient
sam

Sample

sIdentjavascript
lastDetailRow
setVisiblename

setVisible(visible)

dessIndent
Show/hide the menu bar
prs

Parameters

sIndentvisible ;
clients

Supported Clients

sIndentSmartClient,WebClient
sam

Sample

sIdentjavascript
lastDetailRow