Re: XForms: Redraw problem

Steve Lamont (spl@szechuan.ucsd.edu)
Tue, 7 Apr 98 09:16:55 PDT

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

> When I execute my program, I see the text output (line 2) but the
> color of the box doesn't change (another possibility is that the
> first color change is delayed such that the colors change very
> quickly).
>
> Is there something which can prevent an object to be redrawn? Or is
> there a way to let the program halt until the object is redrawn, some-
> thing like an immediate redraw?

If control is not returned to the XForms event handling between color
changes, it is possible that the screen will not be updated and you'll
lose changes. Try stuffing a fl_check_forms() in after the color
change.

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/