> >
> Yes, it is in the FL_DRAW handler for a Free object.
>
> I've never had the problem you describe and, in fact, do quite a bit
> of object handling in my Canvas Expose handlers and I do force redraws
> with fl_redraw_object() or fl_redraw_form() with no difficulty
> whatsoever -- at least any that I recall.
>
> What difficulties have you had?
When redrawing an object sometimes another redraw event will be generated,
and I'll get recursive calls to my Expose handler. I'm a little fuzzy on the
details (this was a while ago), but I know that I was forced to avoid doing
anything that might cause a redraw while redrawing my canvas. I think what
was happening was that by redrawing other objects during the canvas redraw,
all the objects on the form (including the canvas) would be redrawn. Also, if
an error occurs during the redraw then I had to wait until after exiting the
Expose handler to call fl_show_alert, since another redraw is triggered when
the alert box is dismissed.
-- Steve
-- -- EMail: stephen.langer@nist.gov Phone: (301) 975-5423 -- -- WWW: http://math.nist.gov/mcsd/Staff/SLanger/ Fax: (301) 990-4127 -- -- Mail: Building 820 Room 365; NIST; Gaithersburg, Md 20899-0001 -- _________________________________________________ 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/