SelectId

<< Click to Display Table of Contents >>

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

SelectId


 

Manipulates the current selection state of the menu item with a matching id name.

 


syntax

SelectId(

         id,

         bSelect

         [,autoOpen = TRUE]

         [,autoScroll = "visible"]

         [,compareNoCase = FALSE]

         )

 


Parameters

 

id


Type:

character


The id name.

 

bSelect


Type:

Boolean


TRUE - Select. FALSE - Deselect.

 

autoOpen


Type:

Boolean


TRUE - Automatically displays the popup menu when the menu item is selected.

FALSE - Do not automatically display the popup menu.

 

autoScroll


Type:

character


Whether to scroll.

"none" : No scrolling

"visible": If not displayed in the menu area, scroll minimally to make it visible.

"top": Scrolls to appear as close to the top of the menu area as possible.

 

compareNoCase


Type:

Boolean


TRUE - Ignore case when searching for ids.

FALSE - Identify case when searching for ids.

 

Return Value


 

Type:

Boolean

 

FALSE - Failure. TRUE - Success.

 


hmtoggle_plus1Explanation

 


reference