chasing the thumb in a scrollbar
dunbarx at aol.com
Fri Feb 6 00:16:17 CST 2009
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?
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.
On Feb 5, 2009, at 9:44 PM, dunbarx wrote:
> 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:
use-revolution mailing list
use-revolution at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the use-livecode