chasing the thumb in a scrollbar
dunbarx
dunbarx at aol.com
Fri Feb 6 01:16:17 EST 2009
Mark.
OK. But if you know all that, and you know the the loc of the scrollbar, why can't you then get the loc of the thumb?
Craig
On Feb 6, 2009, at 12:51:49 AM, "Mark Swindell" <mdswindell at cruzio.com> wrote:
From: "Mark Swindell" <mdswindell at cruzio.com>
Subject: Re: chasing the thumb in a scrollbar
Date: February 6, 2009 12:51:49 AM EST
To: "How to use Revolution" <use-revolution at lists.runrev.com>
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
_______________________________________________
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