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

Paul Barton-Davis (pbd@Op.Net)
Tue, 07 Jul 1998 16:08:05 -0300

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