# To subscribers of the xforms list from Clive A Stubbings <firstname.lastname@example.org> :
> > The effect at the moment if you have a form with a number of input fields and
> > a button which performs a "Done" or "Close" action. When the user inputs some
> > data and then presses the button the callback for that last input is not
> > invoked and the data is lost.
> > It is not intuitive for a user to always press <TAB> or <CR> to complete
> > input into a field as is required at the moment.
> A workaround might involve using a posthandler to detect loss of focus
> on the input field and performing whatever tasks are necessary to deal
> with the input in that way.
This (IMHO) is the single bigest pain-in-the-... issues with Xforms. In
the end, I gave in and wrote some hideous handlers to manage it, but
because its complex, especially with tabs and multi-line input I seem to
remember, the result requires you to "remember" when adding new call
backs to "do the necessary..". Its all very error prone and has
accounted to two screwups in code I have released.
And thats with using sed to "hack" the fdesign output in the makefile to
replace the input and button create calls with my own (so at least I don't
have to remember to install the prehandler for every one). That generates its
own problems because there are infuriating differences between sed
command line handling between (say) solaris and linux.
All that said I will make 2 positive comments.. ;-)
1. Its impressive that the xforms toolset lets you muck about with it
2. Because of all the (horibleness of the) handlers, it made doing a
run-time selection of look and feel a real snip and doing so shut up a
lot of people who thought they wanted "gtk" versions of my s/ware when
actually all they wanted was "gtk" look and feel.. ;-)
To unsubscribe, send the message "unsubscribe" to
email@example.com or see
XForms Home Page: http://world.std.com/~xforms
List Archive: http://bob.usuhs.mil/mailserv/list-archives/
This archive was generated by hypermail 2b29 : Wed Jan 10 2001 - 13:35:02 EST