SetScrollPos

<< Click to Display Table of Contents >>

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

SetScrollPos


 

Scrolls the specified item to the top.

 


syntax

SetScrollPos(

         popupId,

         scrollPos

         )

 


Parameters

 

popupId


Type:

character


Popup id. For first level menu items, specify "root".

 

scrollPos


Type:

Number


Moves to the specified scroll position (in pixels).

 

Return Value



Type:

Boolean


FALSE - Failure. TRUE - Success.

 


reference