GUI Help > Special > setScrollbarPosition
setScrollbarPosition
setScrollbarPosition handle gadget, int position
Description: Sets the position of the thumb (the bar which the user can click and drag with their mouse) on a scrollbar gadget.
Return Value:
Parameters:
gadget | Handle to a scrollbar gadget
position | The new position of the thumb. The position must be between the range of possible values set with setScrollbarRange.
Remarks:
See Also:
Example: (Note: You will need to include the GUI constants file for this example to work)