Re: XForms: problem with the input box

Steve Lamont (spl@szechuan.ucsd.edu)
Tue, 8 Sep 98 06:14:29 PDT

# To subscribers of the xforms list from spl@szechuan.ucsd.edu (Steve Lamont) :

> i tried the post handler with the demo program inputall.c. but the
> problem persists. is it possible to get a sample program on how exactly
> the posthandler should be used?

I don't think I have the test program I whomped up but, basically, if
you follow the directions in my previous posting, it should work. Did
you register the posthandler for each Input object as shown below?
There really wasn't much more to my test program than the chunks of
code I posted.

> >Register it in the standard manner for all the inputs in your form:
> >
> > [...]
> >
> > fd_try = create_form_try();
> >
> > fl_set_object_posthandler( fd_try->input1, input_posthandler );
> > fl_set_object_posthandler( fd_try->input2, input_posthandler );
> > fl_set_object_posthandler( fd_try->input3, input_posthandler );
> >
> > fl_show_form(fd_try->try,FL_PLACE_CENTERFREE,FL_FULLBORDER,"try");

I'll test it against the sample program when I get a chance today.

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/