Child pages
  • MenuItem

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;3Constants SummaryConstant for centering menu items/checkbox/radiobuttons at creation.Constant for left aligning menu items/checkbox/radiobuttons at creation.Constant for right aligning menu items/checkbox/radiobuttons at creation.

servoy sSummary12%30%58%height: 30px;3Property SummaryEnable/disable the menu item/checkbox/radiobutton.Set arguments that are sent to the callback method.The name of the menu item/checkbox/radiobutton.Select/unselect the checkbox/radiobutton.Get/set the text of the menu item/checkbox/radiobutton.

servoy sSummary12%30%58%height: 30px;3Methods SummaryvoidScript the selection (emulate a mouse click) of the item.Gets the specified client property for the menu item/checkbox/radiobutton based on a key.voidSets the value for the specified client property key of the menu item/checkbox/radiobutton.Set the accelerator key of the menu item/checkbox/radiobutton.voidSet the background color of the menu item/checkbox/radiobutton.voidSet the foreground color of the menu item/checkbox/radiobutton.Set the icon of the menu item/checkbox/radiobutton.Set the method for the menu item/checkbox/radiobutton.Set the method for the menu item/checkbox/radiobutton.Set the mnemonic key of the menu item/checkbox/radiobutton.Set the item visible.

constantservoy sDetail2100%height:30px2Constants DetailsALIGN_CENTERname

ALIGN_CENTER

dessIndent
Constant for centering menu items/checkbox/radiobuttons at creation.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRowALIGN_LEFTname

ALIGN_LEFT

dessIndent
Constant for left aligning menu items/checkbox/radiobuttons at creation.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
ALIGN_RIGHTname

ALIGN_RIGHT

dessIndent
Constant for right aligning menu items/checkbox/radiobuttons at creation.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow

propertyservoy sDetail2100%height:30px2Property Detailsenabledname

enabled

dessIndent
Enable/disable the menu item/checkbox/radiobutton.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRowmethodArgumentsname

methodArguments

dessIndent
Set arguments that are sent to the callback method.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
namename

name

dessIndent
The name of the menu item/checkbox/radiobutton. The name is used only internally, it is not
visible in the user interface.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
selectedname

selected

dessIndent
Select/unselect the checkbox/radiobutton.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
textname

text

dessIndent
Get/set the text of the menu item/checkbox/radiobutton.; This can be also html if enclosed between html tags
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow

functionservoy sDetail2100%height:30px2Methods DetailsdoClickname

doClick()

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

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRowgetClientPropertyname

getClientProperty(key)

dessIndent
Gets the specified client property for the menu item/checkbox/radiobutton based on a key.
prs

Parameters

sIndentkey ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
putClientPropertyname

putClientProperty(key, value)

dessIndent
Sets the value for the specified client property key of the menu item/checkbox/radiobutton.
prs

Parameters

sIndentkey ;value ;
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
setAcceleratorname

setAccelerator(String)

dessIndent
Set the accelerator key of the menu item/checkbox/radiobutton.
prs

Parameters

sIndent
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
setBackgroundColorname

setBackgroundColor(String)

dessIndent
Set the background color of the menu item/checkbox/radiobutton.
prs

Parameters

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
setForegroundColorname

setForegroundColor(String)

dessIndent
Set the foreground color of the menu item/checkbox/radiobutton.
prs

Parameters

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
setIconname

setIcon(Object)

dessIndent
Set the icon of the menu item/checkbox/radiobutton.
prs

Parameters

sIndent
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
setMethodname

setMethod(method)

dessIndent
Set the method for the menu item/checkbox/radiobutton.
prs

Parameters

sIndentmethod ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
setMethodname

setMethod(method, arguments)

dessIndent
Set the method for the menu item/checkbox/radiobutton.
prs

Parameters

sIndentmethod ;arguments ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
setMnemonicname

setMnemonic(String)

dessIndent
Set the mnemonic key of the menu item/checkbox/radiobutton.
prs

Parameters

sIndent
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
setVisiblename

setVisible(visible)

dessIndent
Set the item visible.
prs

Parameters

sIndentvisible ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow