XForms: simple problem

Andrew V. Messier (amess@ece.WPI.EDU)
Mon, 29 Sep 1997 14:23:22 -0500 (EDT)

To subscribers of the xforms list from "Andrew V. Messier" <amess@ece.WPI.EDU> :

Hi, as my problem will demonstrate I'm new to xforms.
My problem is that I have to hit buttons several
times before the buttons assigned action occurs. What I
is like the following:


while (fl_do_forms()!=quit){


if(fl_do_forms()== "some FL_OBJECT from button"){
some_function();
}

if(fl_do_forms()== "some FL_OBJECT from button){
some_other_function();
}

.
.
etc.

}

I know this is wrong since the do_forms function is
being executed once at a time, but how do I loop
through and wait untill one of the FL_OBJECTs has
changes state?? Thanks for any help and sorry for
bothering your time with a simple problem.

- Andy Messier
_________________________________________________
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/