XForms: how does fl_show_question() work ?

Paul Barton-Davis (pbd@Op.Net)
Tue, 7 Jul 1998 12:43:55 -0400

# To subscribers of the xforms list from Paul Barton-Davis <pbd@Op.Net> :

I need to write something similar to fl_show_question(), in that it
will display a new form, allow interaction with it (and possibly, or
possibly not other forms, but thats incidental) and return a value to
the caller.

Its completely unclear to me how to do this. Once my routine calls
fl_show_form(), what can it do to allow interaction to proceed ?

If it calls fl_do_forms(), and was itself invoked from a callback by
fl_do_forms(), then the library gets used in a reentrant fashion, and
core dumps result at random.

If it calls fl_check_forms(), similar problems might arise, and
besides, the program turns into a CPU hog.

fl_show_question() appears to do something "magic" that invokes the
internals of fl_do_forms() but with reentrant issues. Can I get some
of that magic ?

--thanks,
--pbd

_________________________________________________
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/