ScrollBar Control

Purpose:

Returns the handle of a new ScrollBar control.

Syntax:

scr = ScrollBar(direction,y,width,height)

scr.methodname where methodname is one of the following

 

xmin
xmax
xmin and xmax are used to set the range of both vertical and horizontal scroll bars.
increment

 

Comments:

Direction can be one of the following where vertical is equivalent to bottomup and horizontal is equivalent to leftright.  Horizontal and vertical are usually the most common and expected,  thus for ease of use are included.

vertical,horizontal topdown bottomup leftright rightleft

Example

scrv = scrollbar("vertical" 180 , 160 ,50 , 600)
 
 
Example vertical scroll bar

 

Example horizontal scroll bar