> I was looking at my code for something else that would cause my crazy
> memory error.. and I noticed something: Why is it necessary(?) to call
> fl_create_form_xx() everytime you want to display a form after it has been
> hidden with fl_hide_form? ...
It isn't. In fact, you're creating an entirely new instance of the
form every time you call create_form_xx().
The only tricky bit is if you have a canvas object in a form. Then
you must hide the canvas before you hide the form -- this IMHO is a
bug in XForms. (Perhaps TC will comment?).
Other than that, I do nothing particularly special when I hide a form
and then restore it -- just
fl_hide_form( fd_form->form );
...
fl_show_form( fd_form->form, ... );
If you have a problem with this, then this is indicative that there
are problems elsewhere in your code.
spl
_________________________________________________
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/