Re: XForms: working with forms

Steve Lamont (
Mon, 27 Oct 97 05:39:14 PST

To subscribers of the xforms list from (Steve Lamont) :

> How can I force my program to wait for an action on an arbitrary form before
> continuing in the same way. ie. not going through fl_do_forms and then a
> callback.

You can disable all other forms with the fl_deactivate_forms() call
then show the form.

Then you can use the standard callback mechanisms for the form which
you have just shown.

If you feel it necessary, you can call fl_do_forms() from within the
code for your special form -- there's no prohibition from doing so.
In fact, as I have mentioned before, most of the Goodies do this, to
the best of my knowledge.

> By the way, I am not proud of the fact that I'm being forced to
> program in this way...

I'm not sure what this is intended to mean but I'm not convinced that
this is necessarily a Bad Thing. Sometimes things must be done
sequentially in this manner. I often pop a dialog box or some sort of
other form and disable interaction with the rest of the forms.

To unsubscribe, send the message "unsubscribe" to or see
Xforms Home Page:
List Archive: