XForms: Resizing of slider in scrollbar.

Gerald Gryschuk (ggryschuk@scf.sk.ca)
Tue, 28 Jul 1998 13:15:09 -0600

# To subscribers of the xforms list from Gerald Gryschuk <ggryschuk@scf.sk.ca> :

I'm experiencing a problem when resizing the little slider that is
embedded in the scrollbar. Specifically I'm trying to make it scale
depending on the amount of information in the window the scrollbar
controls. I know how to resize the slider correctly using the
function fl_set_scrollbar_size, doing it isn't the problem, what happens
when I do it is. When I scale the slider to smaller than it was but
don't actually move the slider (i.e. the scrollbar value doesn't change)
everything seems o.k. but as soon as you move the mouse over the slider
it "rdraws" itself such that the actual location of the scrollbar
appears to be several pixels lower than the old location and part of the
old slider is visible above the new slider. If you click on the slider
than the two "images" superimpose each other and everythings o.k. until
you move the mouse off the slider than back on and the same "offsetting"
occurs. Not until you actually change the value of the scrollbar by
clicking on the up or down arrows etc. does this affect disappear. So I
was wondering is this a bug in the scrollbar or am I possibly doing the
size change of the slider incorrectly?

Any help would be appreciated.

Thanks

-- 
Gerald Gryschuk(ggryschuk@scf.sk.ca)
Programmer Analyst
Saskatoon Cancer Centre
((306)655-2746)
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil   or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/