> I vaguely remember hearing something about not being allowed to use
> the create more than once. Is what I've done valid xforms? If not
> how do I get around this. Could I create arrays inside the create
> function for each object name and have a window id access them?
You can only show a form from a create once but you can create
multiple instances of the same form by issuing multiple creates. Thus
FD_foo *fd_foo[2];
fd_foo[0] = create_form_foo();
fd_foo[1] = create_form_foo();
fl_show_form( fd_foo[0]->foo, ... );
fl_show_form( fd_foo[1]->foo, ... );
is perfectly legal while
FD_bar *fd_bar;
fd_bar = create_form_bar();
fl_show_form( fd_bar->bar, ... );
fl_show_form( fd_bar->bar, ... );
isn't. A quick experiment shows that the second fl_show_form() is
just ignored by XForms with no error message or warning.
Sounds as if something else is hosed.
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/