chasing the thumb in a scrollbar

Mark Swindell mdswindell at cruzio.com
Fri Feb 6 00:51:49 EST 2009


The thumbPosition will give you the position of the thumb relative to  
the endvalue of the scrollbar itself.  So that if the scrollbar's  
endvalue is set to 100 (default) and it's halfway along, the thumbpos  
will be 50.  If the endvalue is set to 200, it will show 100.  But I'm  
trying to place a graphic based on the actual thumb position relative  
to the screen, not the scrollbar.

Mark



On Feb 5, 2009, at 9:44 PM, dunbarx wrote:

> mark.
>
> So this is a scrollbar control, not a field. Right. I have not  
> played with these yet, but don't I remember that there is a property  
> that indicates the relative position of the thumb with respect to  
> the amount of "progress" in the control, and isn't this even closer  
> to what is needed without all that stuff I mentioned?
>
> Craig Newman
>
>
> On Feb 6, 2009, at 12:38:06 AM, "Mark Swindell"  
> <mdswindell at cruzio.com> wrote:
> That won't work in this case as it's just a horizontal scrollbar not
> attached to a field or group.
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list