chasing the thumb in a scrollbar

Mark Swindell mdswindell at cruzio.com
Fri Feb 6 01:30:11 EST 2009


I guess it can be ascertained based on that info, yes, but if there  
were a built in way to describe the thumb location (seems plausible)  
that would be easier.  Because so many things in Rev are "there"  
already, and so many other things you don't know about are lurking  
just beneath the surface, I wondered if this might be one of them.

Mark

On Feb 5, 2009, at 10:16 PM, dunbarx wrote:

> 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
>
>
> _______________________________________________
> 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