Re: XForms: fl_drw_text

Steve Lamont (spl@szechuan.ucsd.edu)
Tue, 15 Dec 98 12:54:29 PST

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

> I want to write messages on the form and I am using fl_drw_text. But
> when I want to write over the old messages the new message is
> overwritten. How can I clear the old text? or how can I clear a pice of
> form?

There's no clean way to clear an area of a form.

It's probably better to write a message using a Text object. Just
create the Text object with anything but FL_NO_BOX (for example,
if you don't wat a border use FL_FLAT_BOX and set the background color
to the same as the surrounding form). You'd then use the
fl_set_object_label() function to set the message. The clearing of
the area would happen automagically.

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/