Re: XForms: Invisible button

Steve Lamont (spl@szechuan.ucsd.edu)
Thu, 5 Feb 98 06:23:44 PST

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

> > > I added the button using fdesign in the usual way, and it isn't obscured
> > > by any other object. I've been experimenting and it seems that
> > > *anything* I add now doesn't get drawn immediately, and some only get
> > > drawn partially when the mouse goes over them. E.g., the 'handle' of a
> > > slider will get drawn but not the down box part of it.
> >
> > Hmmm... does it happen in test mode of `fdesign' as well as in your
> > application? Approximately how many objects are in the form? (I have
> > forms with dozens of objects with no problem of this sort.)
>
> I have an similar problem before. I noticed inorder to show all object in a
> given form, you have to call "fl_do_forms()" after your "fl_show_form()". I
> don't know whether or not this is a feature or a bug.

Good point. I forgot to mention that.

Yes, you do need to return control to the XForms main loop in order
for objects to be drawn completely.

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://bloch.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/