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

T.C. Zhao (tc_zhao@yahoo.com)
Tue, 7 Jul 1998 13:52:44 -0700 (PDT)

# To subscribers of the xforms list from "T.C. Zhao" <tc_zhao@yahoo.com> :

Although it's hard to prove that fl_do_forms()
can be nested without problems, it can and has been
done in situations like asking a question
while all other forms are disabled. The commonality
of the internal use is that fl_do_forms() is not
nested(recursed) more a couple of times.

---Paul Barton-Davis <pbd@Op.Net> wrote:
>
> # To subscribers of the xforms list from Paul Barton-Davis
<pbd@Op.Net> :
>
> In message <9807071726.AA17555@szechuan.UCSD.EDU>you write:
> ># To subscribers of the xforms list from spl@szechuan.ucsd.edu
(Steve Lamont)
> >:
> >
> >> 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 ?
> >
> >fl_show_question() uses the return value of fl_do_forms() to
determine
> >what button was pushed. For example, schematically ...
>
> Do you mean that fl_do_forms() *can* be called in a reentrant way ? My
> experience to date has been that it can't, but that might be due to my
> attempt to use callbacks and, ugh, set/longjmp in this situation. heh.
>
> Nothing like trying it out, I suppose.
>
> --p
> _________________________________________________
> 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/
>
>

_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at /cgi-bin/exit-to?http://mail.yahoo.com

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