Child pages
  • Menu

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 ClientssWordListSmartClientsWordListWebClientsWordListNGClient

servoy sSummary12%30%58%height: 30px;3Property SummaryRetrieve/set the text.

servoy sSummary12%30%58%height: 30px;3Methods SummaryAdd a checkbox.Add a checkbox at the selected index (starting at 0) or at the end.Add a checkbox with given name.Add a checkbox at the selected index (starting at 0) or at the end.Add a checkbox at the selected index (starting at 0) or at the end.Add a checkbox at the selected index (starting at 0) or at the end.Add a checkbox at the selected index (starting at 0) or at the end.Add a checkbox at the selected index (starting at 0) or at the end.Add a submenu at the end.Add a submenu at the selected index (starting at 0).Add a submenu with given name.Add a menu item.Add a menu item at the selected index (starting at 0) or at the end.Add a menu item with given name.Add a menu item at the selected index (starting at 0) or at the end.Add a menu item at the selected index (starting at 0) or at the end.Add a menu item at the selected index (starting at 0) or at the end.Add a menu item at the selected index (starting at 0) or at the end.Add a menu item at the selected index (starting at 0) or at the end.Add a radio button.Add a radiobutton at the selected index (starting at 0) or at the end.Add a radio button with given name.Add a radiobutton at the selected index (starting at 0) or at the end.Add a radiobutton at the selected index (starting at 0) or at the end.Add a radiobutton at the selected index (starting at 0) or at the end.Add a radiobutton at the selected index (starting at 0) or at the end.Add a radiobutton at the selected index (starting at 0) or at the end.voidAdd a radiogroup for radiobuttons.voidAdd the separator at the selected index (starting at 0) or at the end (empty).voidAdd the separator at the selected index (starting at 0) or at the end (empty).voidScript the selection (emulate a mouse click) of the menu.Get the checkbox at the selected index (starting at 0).Gets the specified client property for the element based on a key.Get the item at the selected index (starting at 0).Get the number of items in the menu.Retrieve the index of the item by text.Get the submenu at the selected index (starting at 0).Get the radiobutton at the selected index (starting at 0).voidSets the value for the specified element client property key.voidRemove all items from the menu.voidRemove the item(s) at the selected index/indices.voidSet the the selected menu enabled or disabled.voidSet the icon of the menu.voidSet the mnemonic of the selected menu.

propertyservoy sDetail2100%height:30px2Property Detailstextname

text

dessIndent
Retrieve/set the text.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow

functionservoy sDetail2100%height:30px2Methods DetailsaddCheckBoxname

addCheckBox()

dessIndent
Add a checkbox.
ret

Returns

sIndent checkbox
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRowaddCheckBoxname

addCheckBox(index)

dessIndent
Add a checkbox at the selected index (starting at 0) or at the end.
prs

Parameters

sIndentindexthe index at which to add the checkbox
ret

Returns

sIndent checkbox
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
addCheckBoxname

addCheckBox(name)

dessIndent
Add a checkbox with given name.
prs

Parameters

sIndentnamethe checkbox text; this can be also html if enclosed between html tags
ret

Returns

sIndent checkbox
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
addCheckBoxname

addCheckBox(name, feedback_item)

dessIndent
Add a checkbox at the selected index (starting at 0) or at the end.
prs

Parameters

sIndentnamethe checkbox text; this can be also html if enclosed between html tagsfeedback_itemthe feedback function
ret

Returns

sIndent checkbox
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
addCheckBoxname

addCheckBox(name, feedback_item, icon)

dessIndent
Add a checkbox at the selected index (starting at 0) or at the end.
prs

Parameters

sIndentnamethe checkbox text; this can be also html if enclosed between html tagsfeedback_itemthe feedback functioniconthe checkbox icon (can be an image URL or the image content byte array)
ret

Returns

sIndent checkbox
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
addCheckBoxname

addCheckBox(name, feedback_item, icon, mnemonic)

dessIndent
Add a checkbox at the selected index (starting at 0) or at the end.
prs

Parameters

sIndentnamethe checkbox text; this can be also html if enclosed between html tagsfeedback_itemthe feedback functioniconthe checkbox icon (can be an image URL or the image content byte array)mnemonicthe checkbox mnemonic
ret

Returns

sIndent checkbox
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
addCheckBoxname

addCheckBox(name, feedback_item, icon, mnemonic, enabled)

dessIndent
Add a checkbox at the selected index (starting at 0) or at the end.
prs

Parameters

sIndentnamethe checkbox text; this can be also html if enclosed between html tagsfeedback_itemthe feedback functioniconthe checkbox icon (can be an image URL or the image content byte array)mnemonicthe checkbox mnemonicenabledthe enabled state of the checkbox
ret

Returns

sIndent checkbox
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
addCheckBoxname

addCheckBox(name, feedback_item, icon, mnemonic, enabled, align)

dessIndent
Add a checkbox at the selected index (starting at 0) or at the end.
prs

Parameters

sIndentnamethe checkbox text; this can be also html if enclosed between html tagsfeedback_itemthe feedback functioniconthe checkbox icon (can be an image URL or the image content byte array)mnemonicthe checkbox mnemonicenabledthe enabled state of the checkboxalignthe alignment type
ret

Returns

sIndent checkbox
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
addMenuname

addMenu()

dessIndent
Add a submenu at the end.
ret

Returns

sIndent the submenu
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
addMenuname

addMenu(index)

dessIndent
Add a submenu at the selected index (starting at 0).
prs

Parameters

sIndentindexthe index at which to add the submenu
ret

Returns

sIndent the submenu
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
addMenuname

addMenu(name)

dessIndent
Add a submenu with given name.
prs

Parameters

sIndentnamethe text of the submenu; this can be also html if enclosed between html tags
ret

Returns

sIndent the submenu
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
addMenuItemname

addMenuItem()

dessIndent
Add a menu item.
ret

Returns

sIndent menu item
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
addMenuItemname

addMenuItem(index)

dessIndent
Add a menu item at the selected index (starting at 0) or at the end.
prs

Parameters

sIndentindexthe index at which to add the menu item
ret

Returns

sIndent menu item
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
addMenuItemname

addMenuItem(name)

dessIndent
Add a menu item with given name.
prs

Parameters

sIndentnamethe menu item text; this can be also html if enclosed between html tags
ret

Returns

sIndent menu item
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
addMenuItemname

addMenuItem(name, feedback_item)

dessIndent
Add a menu item at the selected index (starting at 0) or at the end.
prs

Parameters

sIndentnamethe menu item text; this can be also html if enclosed between html tagsfeedback_itemthe feedback function
ret

Returns

sIndent menu item
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
addMenuItemname

addMenuItem(name, feedback_item, icon)

dessIndent
Add a menu item at the selected index (starting at 0) or at the end.
prs

Parameters

sIndentnamethe menu item text; this can be also html if enclosed between html tagsfeedback_itemthe feedback functioniconthe menu item icon (can be an image URL or the image content byte array)
ret

Returns

sIndent menu item
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
addMenuItemname

addMenuItem(name, feedback_item, icon, mnemonic)

dessIndent
Add a menu item at the selected index (starting at 0) or at the end.
prs

Parameters

sIndentnamethe menu item text; this can be also html if enclosed between html tagsfeedback_itemthe feedback functioniconthe menu item icon (can be an image URL or the image content byte array)mnemonicthe menu item mnemonic
ret

Returns

sIndent menu item
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
addMenuItemname

addMenuItem(name, feedback_item, icon, mnemonic, enabled)

dessIndent
Add a menu item at the selected index (starting at 0) or at the end.
prs

Parameters

sIndentnamethe menu item text; this can be also html if enclosed between html tagsfeedback_itemthe feedback functioniconthe menu item icon (can be an image URL or the image content byte array)mnemonicthe menu item mnemonicenabledthe enabled state of the menu item
ret

Returns

sIndent menu item
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
addMenuItemname

addMenuItem(name, feedback_item, icon, mnemonic, enabled, align)

dessIndent
Add a menu item at the selected index (starting at 0) or at the end.
prs

Parameters

sIndentnamethe menu item text; this can be also html if enclosed between html tagsfeedback_itemthe feedback functioniconthe menu item icon (can be an image URL or the image content byte array).In NGClient we also support fontawesome class.mnemonicthe menu item mnemonicenabledthe enabled state of the menu itemalignthe alignment type
ret

Returns

sIndent menu item
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
addRadioButtonname

addRadioButton()

dessIndent
Add a radio button.
ret

Returns

sIndent a radio button menu item
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
addRadioButtonname

addRadioButton(index)

dessIndent
Add a radiobutton at the selected index (starting at 0) or at the end.
prs

Parameters

sIndentindexthe index at which to add the radio button
ret

Returns

sIndent a radio button menu item
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
addRadioButtonname

addRadioButton(name)

dessIndent
Add a radio button with given name.
prs

Parameters

sIndentnamethe radio button text; this can be also html if enclosed between html tags
ret

Returns

sIndent a radio button menu item
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
addRadioButtonname

addRadioButton(name, feedback_item)

dessIndent
Add a radiobutton at the selected index (starting at 0) or at the end.
prs

Parameters

sIndentnamethe radio button text; this can be also html if enclosed between html tagsfeedback_itemthe feedback function
ret

Returns

sIndent a radio button menu item
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
addRadioButtonname

addRadioButton(name, feedback_item, icon)

dessIndent
Add a radiobutton at the selected index (starting at 0) or at the end.
prs

Parameters

sIndentnamethe radio button text; this can be also html if enclosed between html tagsfeedback_itemthe feedback functioniconthe radio button icon (can be an image URL or the image content byte array)
ret

Returns

sIndent a radio button menu item
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
addRadioButtonname

addRadioButton(name, feedback_item, icon, mnemonic)

dessIndent
Add a radiobutton at the selected index (starting at 0) or at the end.
prs

Parameters

sIndentnamethe radio button text; this can be also html if enclosed between html tagsfeedback_itemthe feedback functioniconthe radio button icon (can be an image URL or the image content byte array)mnemonicthe radio button mnemonic
ret

Returns

sIndent a radio button menu item
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
addRadioButtonname

addRadioButton(name, feedback_item, icon, mnemonic, enabled)

dessIndent
Add a radiobutton at the selected index (starting at 0) or at the end.
prs

Parameters

sIndentnamethe radio button text; this can be also html if enclosed between html tagsfeedback_itemthe feedback functioniconthe radio button icon (can be an image URL or the image content byte array)mnemonicthe radio button mnemonicenabledthe enabled state of radio button
ret

Returns

sIndent a radio button menu item
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
addRadioButtonname

addRadioButton(name, feedback_item, icon, mnemonic, enabled, align)

dessIndent
Add a radiobutton at the selected index (starting at 0) or at the end.
prs

Parameters

sIndentnamethe radio button text; this can be also html if enclosed between html tagsfeedback_itemthe feedback functioniconthe radio button icon (can be an image URL or the image content byte array)mnemonicthe radio button mnemonicenabledthe enabled state of radio buttonalignthe alignment type
ret

Returns

sIndent a radio button menu item
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
addRadioGroupname

addRadioGroup()

dessIndent
Add a radiogroup for radiobuttons. A radiogroup groups together all radiobuttons that are added
after the group is added. From all radiobuttons that belong to the same radiogroup only one can be
checked at a time.

If no radiogroup is added, one is created automatically when the first radiobutton is added.
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
addSeparatorname

addSeparator()

dessIndent
Add the separator at the selected index (starting at 0) or at the end (empty).
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
addSeparatorname

addSeparator(index)

dessIndent
Add the separator at the selected index (starting at 0) or at the end (empty).
prs

Parameters

sIndentindexthe index at which to add the separator
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
doClickname

doClick()

dessIndent
Script the selection (emulate a mouse click) of the menu.
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
getCheckBoxname

getCheckBox(index)

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

Parameters

sIndentindex ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
getClientPropertyname

getClientProperty(key)

dessIndent
Gets the specified client property for the element based on a key.
prs

Parameters

sIndentkey ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
getItemname

getItem(index)

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

Parameters

sIndentindex ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
getItemCountname

getItemCount()

dessIndent
Get the number of items in the menu.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
getItemIndexByTextname

getItemIndexByText(text)

dessIndent
Retrieve the index of the item by text.
prs

Parameters

sIndenttext ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
getMenuname

getMenu(index)

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

Parameters

sIndentindex ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
getRadioButtonname

getRadioButton(index)

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

Parameters

sIndentindex ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
putClientPropertyname

putClientProperty(key, value)

dessIndent
Sets the value for the specified element client property key.
prs

Parameters

sIndentkey ;value ;
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
removeAllItemsname

removeAllItems()

dessIndent
Remove all items from the menu.
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
removeItemname

removeItem(index)

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

Parameters

sIndentindexarray of one or moe indexes corresponding to items to remove
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
setEnabledname

setEnabled(boolean)

dessIndent
Set the the selected menu enabled or disabled.
prs

Parameters

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
setIconname

setIcon(Object)

dessIndent
Set the icon of the menu.
prs

Parameters

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
setMnemonicname

setMnemonic(String)

dessIndent
Set the mnemonic of the selected menu.
prs

Parameters

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow