Ok, got it. Thanks Seth. (The Maximum shouldn't represent the whole
picture heigth, but only the part of the picture that's invisible,
therefore Maximum = picture.height - canvas.height. I simply used
Maximum = picture.height. Pagestep = canvas.heigt.)
Marc
On 2/10/06 2:54 PM, "Aliacta" <[EMAIL PROTECTED]> wrote:
On 2/10/06 2:02 PM, "Aliacta" <[EMAIL PROTECTED]> wrote:
So basically I believe that if Maximum is 100 and Pagestep is 80,
then the "elevator" should fill 80% of the whole scrollbar, but it's
always much smaller.
PageStep is the amount the elevator bar should move when you
click somewhere
on the scroll track itself. So if you set it to 80, clicking somewhere on
the scroll track will +/- the scroll value by 80.
Then if my Maximum is 100 and my Pagestep is 80 I should have to
click a maximum of 2 times to reach the end. This isn't the case
however. You have to click more times. (And I'm not clicking on the
scroll arrows but inside the scrollbar of course.)
Check out the scrollbar+canvas example from Matt's book:
<http://www.tidbits.com/matt/rbExamplesTocNew.html>
-Seth
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>