At this point, dragging the thumb tab of the scroller will
NOT update the scrollPos correctly, nor will the scrollEvent be
correct. It behaves as if Scrollposmax is still 100.
If you click the scrollbar client area, or use the arrows, it
works fine. But dragging the thumbtab does not.
Now get rid of the 4 updates, and simply use
scroller.setScrollProperties(400, 0, 400, 200)
You can see this is instantly different because the thumb tab
changes in height. dragging this works as expected
Very frustrating. Maybe there was a method I should have
called after updating the 4 properties, but if so the docs made no
mention of it.
Its a bug as far as Im concerned.
I haven't tried to reproduce your results, but maybe you need
to call invalidateDisplayList() on the item after you update those
properties. That should make the necessary call to
setScrollProperties() for you.
I don't know about the status of this as a bug - quoth the
documentation - "In general, setting a property on a component
automatically calls the appropriate invalidation method" - although
that brings up the question of what kind of scope the word