|
Set the properties of the menu item.
Syntax 1
SetMenuProperty(
popupId,
position,
name,
value
)
Parameters
popupId
|
|
Type:
|
character
|
|
Popup id. For first level menu items, specify "root".
Specifying an empty string will set the properties for all items.
|
position
|
|
Type:
|
character
|
|
The position of the menu item, starting from 0.
|
value
|
|
Type:
|
General purpose
|
|
The configuration value.
|
Return Value
|
|
Type:
|
Boolean
|
|
FALSE - Failure. TRUE - Success.
|
Syntax 2
SetMenuProperty(
popupId,
position,
props
)
Parameters
popupId
|
|
Type:
|
character
|
|
Popup id. For first level menu items, specify "root".
Specifying an empty string will set the properties for all items.
|
position
|
|
Type:
|
character
|
|
The position of the menu item, starting from 0.
|
Return Value
|
|
Type:
|
Boolean
|
|
FALSE - Failure. TRUE - Success.
|
Explanation
Set the properties of the menu item.
|
reference
AddMenu
InsertMenu
DelMenu
ClearMenu
GetMenuProperty
SetClassProperty
SetIdProperty
GetIdProperty
|