SearchId

<< Click to Display Table of Contents >>

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

SearchId


 

Gets the popup ID and menu item position that matches the id name.

 


syntax

SearchId(

         id,

         &popupId

         [, &position]

         )

 


Parameters

 

id


Type:

character


The id name.

 

&popupId


Type:

character


Returns the popup id. If it is a first level menu item, it returns "root".

 

&position


Type:

character


Returns the position of the menu item, starting at 0. For popup items, returns -1.

 

Return Value


 

Type:

Boolean

 

FALSE - Failure. TRUE - Success.

 


hmtoggle_plus1Explanation

 


reference