Friends,
I'm experiencing some strange behaviour regarding activation and
deactivation of multiline inputs. Consider the following example:
FD_test *create_form_test(void)
{
FL_OBJECT *obj;
FD_test *fdui = (FD_test *) fl_calloc(1, sizeof(*fdui));
fdui->test = fl_bgn_form(FL_NO_BOX, 280, 220);
obj = fl_add_box(FL_UP_BOX,0,0,280,220,"");
obj = fl_add_input(FL_MULTILINE_INPUT,80,50,120,40,"");
obj = fl_add_input(FL_MULTILINE_INPUT,80,110,120,40,"");
fl_activate_object(obj); /***** CRITICAL LINE *****/
fl_end_form();
fdui->test->fdui = fdui;
return fdui;
}
What happens is that the last input is deactivated, which isn't exactly
as expected. If I try with FL_NORMAL_INPUT everything works well.
Ideas, anyone?
Sindre
-- Sindre Mehus __ mailto:mehus@darmstadt.gmd.de GMD-IPSI /\_\ http://www.cs.uit.no/~sindrem Dolivostr. 15 \/_/ Tel: +49 6151 869 902 D-64293 Darmstadt, Germany Fax: +49 6151 869 966 _________________________________________________ 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/