ScrollBar Control functions

How to get the position of the ScrollBar Control GetPos() This function returns the position of the scrollbar in integer

Scroll=parent:tt_ScrollBarHandle("nativeclass=ScrollBar","height=23","width=113")
iScroll=Scroll:GetPos()

How to set the position of the ScrollBar Control SetPos(int arg1) the arg1 sets the position of the scrollbar control.

Scroll=parent:tt_ScrollBarHandle("nativeclass=ScrollBar","height=23","width=113")
Scroll:SetPos(50)

Trace Technologies Pvt. Ltd.,  Copyright 2003 - 2006