Re: XForms: Slider callback bug?

From: jprinos@dehavilland.ca
Date: Thu Feb 21 2002 - 07:47:37 EST


# To subscribers of the xforms list from jprinos@dehavilland.ca :

That happens with any object that doesn't have a callback. It's been like
that forever.

John

# To subscribers of the xforms list from David Scriven
<davidwriter@yahoo.com> :

I've come across something weird with the slider.
If you don't have a callback or as in my case, the
program goes and does something before returning, the
slider will abort the program.

To see this effect take the demo objreturn.c and
comment out line 87
   fl_set_object_callback(obj,return_cb,(long)"slider
returned");

then move the slider - the program aborts when you
stop. It appears that the callback is necessary, even
if it is a blank. If the slider is changed to a
scrollbar, the program works well without a callback.

I'm running 0.89.6 on Red Hat Linux 7.2

Any comments?

_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuhs.mil or see
http://bob.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://world.std.com/~xforms
List Archive: http://bob.usuhs.mil/mailserv/list-archives/



This archive was generated by hypermail 2b29 : Wed May 01 2002 - 13:54:14 EDT