Re: XForms: how does fl_show_question() do it ?

Stephen Langer (langer@cam.nist.gov)
Wed, 8 Jul 1998 16:18:43 -0400

# To subscribers of the xforms list from "Stephen Langer" <langer@cam.nist.gov> :

> # To subscribers of the xforms list from Paul Barton-Davis <pbd@Op.Net> :
>
> Steve said:
>
> >Your callback routine can set a global flag, and the loop that calls
> >fl_do_forms can exit when the flag is set. That avoids setjmp/longjmp
> >and still lets you use callbacks.
>
> I don't think so. If there are callbacks on all the objects then
> fl_do_forms() *never* returns. The loop that called it never gets to
> check the flag. Or am I being dense ?
>

Sorry. You want to use fl_check_forms() or fl_check_only_forms() instead.
That's what works for me.

-- Steve

-- 
-- EMail: stephen.langer@nist.gov                    Phone: (301) 975-5423 --
-- WWW:  http://math.nist.gov/mcsd/Staff/SLanger/    Fax:   (301) 990-4127 --
-- Mail: Building 820 Room 365; NIST; Gaithersburg, Md          20899-0001 --
_________________________________________________
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/