SetMenuProperty

<< Click to Display Table of Contents >>

Manual > Control Reference > Basic > SideMenu control > Method >

SetMenuProperty


 

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.

 

name


Type:

character


Property name for "Menu Item Property".

 

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.

 

props


Type:

Characters (array)


Specify "Menu item property". (Property setting format)

 

Return Value



Type:

Boolean


FALSE - Failure. TRUE - Success.

 


hmtoggle_plus1Explanation

 

 


reference