thumbPosition and Simple Math
jhurley at infostations.com
Sat Feb 26 12:09:45 EST 2005
>Date: Sat, 26 Feb 2005 08:42:21 -0600
>From: Derek Bump <webmaster at dreamscapesoftware.com>
>Subject: thumbPosition and Simple Math
>To: How to use Revolution <use-revolution at lists.runrev.com>
>Message-ID: <42208ACD.9030606 at dreamscapesoftware.com>
>Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>Are there bugs that occur when using Math in conjunction with a
>thumbPosition reading. I've noticed that the following...
> put the thumbPosition of me into theNum
> add 50 to theNum
> put theNum into fld "result"
>When I do it, I don't get the current thumbPosition + 50, I get the
>current pixel position + 50.
>Anyone else seeing this?
Your script works for me (OS X).
Try looking in the scrollbar inspector. Use the tiny arrows to
increase the thumbposition. You should see the position of the thumb
change on the scrollbar *and* the value in field should increase but
remain 50 units greater than the thumbposition.
More information about the Use-livecode