Re: ?updating fields

Steve Lamont (spl@szechuan.ucsd.edu)
Thu, 13 Feb 97 05:54:01 PST

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

> > Other than programmatically doing it from your Clean callback about
> > the only way I can think of doing it in one swell foop is to destroy
> > the form and create a new one.
>
> I cannot believe this is the only way! Has one really to build a
> complete new form if only one tiny field value has to be updated from
> outside the form??
> [...]
> Additionally, there are tons of "fl_..." functions with an
> "FL_OBJECT *obj" pointer as the first argument. I don't believe
> they are only useful and accessible *before* a call to
> "fl_end_form()".

That's what I meant by 'programmatically.' Sorry if I was unclear.

Yes, these functions may be called more or less at any time to reset
things to initial values, update readouts, etc.

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/xforms-archive/