Re: XForms: Free object draw and redraw problem

Steve Lamont (spl@szechuan.ucsd.edu)
Sat, 2 May 98 09:31:59 PDT

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

> The fl_check_forms() is called periodically ( period = 200msec).
> The update of the data is relatively fast, about 3 per sec, so can
> the free drawing object update that fast?

The answer to this question, of course, depends upon your system and
the connection to your server but if your Free object handler is
completing its work and returning within that period of time then you
should be getting updates.

Are you by any chance modifying any other objects from within your
Free object handler? This can confuse XForms. If you need to update
other objects, this should be done from a callback, not an object
handler. I don't see this as the source of this problem but it's
worth a look.

Just as an experiment, you might try calling

XFlush( fl_get_display() );

at the end of your drawing, just to see if that makes a difference.
(It really shouldn't if you're calling fl_check_forms() after calling
fl_redraw_object() but who knows.)

Do I understand correctly that the initial graphics in your Free
object are drawn and then nothing else ever gets updated, no matter
how long you wait? Or are things being updated but not at the pace at
which you'd expect?

Without seeing the handler code that's probably about all I can suggest.

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/