XForms: Problems with scrollbar

Santiago Garcia Mantinan (manty@udc.es)
Thu, 22 Jan 1998 12:42:08 +0100 (CET)

To subscribers of the xforms list from Santiago Garcia Mantinan <manty@udc.es> :

On Wed, 21 Jan 1998, Steve Lamont wrote:

> Are you perchance using a Scrollbar with FL_NO_BOX as the box type?

NO, I read about that in the manual and it is not that, I'll put the Code
I use when creating the form, it was partially generated by FDesign:

fdui->tree_bar = obj = fl_add_scrollbar(FL_HOR_SCROLLBAR,10,390,370,20,"");
fl_set_scrollbar_return(obj,FL_RETURN_CHANGED);
fl_set_scrollbar_step(obj,1);
fl_set_scrollbar_increment(obj,1,1);
fl_set_object_callback(obj,tree_bar_cb,0);

now, if I try to do:

fl_set_scrollbar_bounds(fd_trees->tree_bar,1,num_span);
fl_set_scrollbar_value(fd_trees->tree_bar,1);

even though the slider seems to be on the right place (on the left corner)
but it is where it was before doing fl_set_scrollbar_bounds, this is, in
the default place (the middle), it is drawn in the corner, but if you try
to do something with it you'll realice that it really is on the middle,
even though the value is of course 1 :-((((

Thanks!

, ~,
SANTIAGO GARCIA MANTINAN (Manty/BestiaTester) mailto:manty@udc.es

, ~
FACULTAD DE INFORMATICA DE LA UNIVERSIDAD DE LA CORUNA

Also: manty@geocities.com - /cgi-bin/exit-to?http://www.geocities.com/SiliconValley/Lakes/1486

_________________________________________________
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://bloch.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/