Rob wrote:
lineInc should = the height of one line of scrolling text or objects
pageInc should = lineInc * the number of visible lines of text or
objects
Thanks rob! of course you are right. :-)
All the best,
malte
___
use-revolution mailing list
Hi Scott,
My problem is getting the
thumb correctly sized so, for example, if the field holds 14 items and
the
lines number 15, you get a fairly large thumb, instead of the tiny
version
when its size is set to 1.
If you are working with a scrolling field, the thumbSize adjusts
Malte, Scott, et al:
pageInc: 1
lineInc: 1
From Rev Dictionary:
Use the pageIncrement property to change the amount that is scrolled
when the gray region is clicked.
Use the lineIncrement property to change the amount that is scrolled
when the scrollbar arrows are clicked.
Do you
Is there a document/recipe somewhere to set up the properties of a scrollbar
such that its thumb correctly syncs with the scroll of a field?
I know I've done this before somewhere but for some reason I seem to be off
on a current project in how I'm figuring the start and end values.
Thanks
Hi scott,
try:
startValue: 0
endValue: formattedheight of fld - height of fld - margins of fld (if
1 no scroll)
pageInc: 1
lineInc: 1
thumbSize: 1
Hope that helps,
Malte
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please
Recently, Malte Brill wrote:
try:
startValue: 0
endValue: formattedheight of fld - height of fld - margins of fld (if
1 no scroll)
pageInc: 1
lineInc: 1
thumbSize: 1
Thanks Malte -- this is pretty much what I tried. My problem is getting the
thumb correctly sized so, for example, if
Scott,
I think the trick is that you have to also increase the endValue when
you increase the thumbSize (not very intuitive, I know).
Try this. Set:
startValue: 0
endValue: 100
Now scroll all the way down and check the thumbPosition... it's 67, not
100.
So you probably want something more
Recently, Brian Yennie wrote:
I think the trick is that you have to also increase the endValue when
you increase the thumbSize (not very intuitive, I know).
Thanks Brian. Unfortunately, I'm still getting inconsistent results.
Sometimes the scrollbar scrolls correctly to the end of the field
Hrm. Any chance it's a rounding / trunc problem? If so you could
increase the resolution by jumping from a 0-100 base scale to
something more like 0-10 to make the truncating negligible. How
much is getting cut off / what are your actual values?
Just a shot in the dark...!
Recently,