|
SLOWING DOWN A FIELD'S SCROLLING SPEED
As faster and faster
computers come onto the market, everything you do is generally much
faster. This is typically a good thing, allowing you to get your task done
faster. In the case of text scrolling in a text field, faster is not
better. In fact it can scroll so fast that you can't get to where you are
trying to scroll without ending up at the bottom of the text.
It is actually very easy to
slow the scrolling of a field. Every time you scroll a field of text at
Reader level [not Author level] ToolBook fires off a textScrolled message.
By intercepting that message and adding a small delay, you can slow down
the scroll.
You can add this OpenScript
to the script of the particular Field you are interested in, or you can
even add this code to the Script of the book - which will have the effect
of slowing down scrolling for ALL fields in the book.
The larger the number used
for the pause, the slower the scrolling will be. I have used a value of 10
here, but feel free to change it.
to handle
textScrolled
pause 10 ticks
forward
end
|