Scroll

<< Click to Display Table of Contents >>

Manual > Control Reference > Basics > List box control > Methods >

Scroll


 

Scroll through the lines.

 


Syntax 1

Scroll(

         "index",

         index

         )

 

Scrolls to the specified line.

 


Parameters

 

mode


Type:

character


"index"

 

index


Type:

Number


The index (0-based) of the line to scroll to.

 

 


Syntax 2

 

Scroll(

         "inc",

         Num        

         )

 

Scrolls the specified number of lines from the current position.

 


Parameters

 

Mode


Type:

character


"inc"

 

Num


Type:

Number


The number of lines to scroll. If it is positive, scroll down. If it is negative, scroll up.

 

 


Syntax 3

 

Scroll(

         Mode

         )

 

Scrolls according to the specified mode.

 


Parameters

 

Mode


Type:

character


"pageup" - Page up.

"pageup_half" - Page up half a page.

"pagedown" - Page down.

"pagedown_half" - Page down half a page.

"top" - Scroll to the top.

"end" - Scroll to the end.

"select" - Scrolls to the currently selected row.

 


hmtoggle_plus1Explanation

 

 


reference