Re: XForms: Drawing an object, within a callback

Steve Lamont (spl@szechuan.ucsd.edu)
Tue, 4 Nov 97 12:25:36 PST

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

> I was wondering if there was a nice, neat way of drawing an object
> on the screen (make it visible), while within a callback?

If you mean an XForms object, yes. Use fl_show_object(). The object
will be shown as soon as control is returned to XForms, either by
returning from the callback or by calling fl_check_forms(). This, of
course, assumes that the object has been created in the appropriate
manner.

If you mean just plain drawing, refer to the drawing functions
(fl_drw_*()).

The manual should have sufficient detail for you to work out the rest
either way.

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/