Message-Id: <Pine.GSO.3.96.980917002609.23535B-100000@borg>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-xforms@bob.usuf2.usuhs.mil
Precedence: bulk
Reply-To: xforms@bob.usuf2.usuhs.mil
# To subscribers of the xforms list from AMIT BHATNAGAR <amit@cs.dal.ca> :
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? If you don't call fl_crete_form_xx before you
fl_show the form I get:
X Error of failed request: BadValue (integer parameter out of range for
operation)
Major opcode of failed request: 1 (X_CreateWindow)
Value in failed request: 0x0
Serial number of failed request: 2368
Current serial number in output stream: 2379
Because my program is nothing but filling in formartion and going back and
forth between forms.. is having to always call fl_create_form_xx good
practice? Or is there nothing else I can do?
also, If a form is just being hidden, why can't it 'remember' its
contents. For example if I fl_hide_form; and then show it again, the items
on the form are gone (items in like a browser or a input boxes), and I
have to put the information back into the input fields by fl_set_input etc
etc. (and an fl_free_form hasn't been issued).
_________________________________________________
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/
-- Helmut Bohr Helmut.Bohr@T-Online.de hbohr@dvo.de _________________________________________________ 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/