[XForms] fl_check_forms (from Matthew Yaconis)

Todd Denniston Todd.Denniston at ssa.crane.navy.mil
Mon Sep 27 11:12:59 EDT 2004


Matthew Yaconis wrote:
> 
> To subscribers of the xforms list
> 
> > For Yaconis's situation, if you have not already you might want to get
> > forms.ps.gz from:
> > ftp://ncmir.ucsd.edu/pub/xforms/DOC
> > It may be a bit dated[1] but it is an excellent manual on xforms. section
> 4.2
> > talks about using fl_check_forms, I am betting Yaconis needs to call
> > fl_check_forms more often to allow some timer callbacks to work.
> 
> The program executes kind of like this:
> 
> 1. fl_do_forms (standard looping - the user clicks a button to go to step 2)
> 2. Callback routine starts
> 3. A window is shown
> 4. fl_check_forms is called (the window actually appears)
> 5. The rest of the callback executes ~30 seconds
> 6. The window is hidden.
> 7. The callback routine exits.
> 8. fl_do_forms standard looping continues
> 
> So you are suggesting several calls to fl_check_forms at step 4 or trying to
> spread them out within the time intensive portion of execution?
If you read section 4.2 of the manual[1], pg 41&42, you will note that in step
5 you should at appropriate locations (many places or the outer loop of the
long processing) you should make a call to fl_check_forms _AND_ then if the
returned object is something that needs handled call to some kind of forms
handler that returns as soon as the object is handled.

i.e. fl_check_forms only tells you something needs done and what it is, it
does not do the thing.


[1] my copy is: 
Forms Library, V0.86, March 1997, T.C. Zhao
-- 
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane) 
Harnessing the Power of Technology for the Warfighter



More information about the Xforms mailing list