Re: XForms: label color

Steve Lamont (spl@szechuan.ucsd.edu)
Thu, 26 Aug 99 09:12:36 PDT

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

> I would like to change the color labels of all my FL_OBJECT at a time (I
> don't want to use fl_set_object_lcol
> for each object)
> Is there a simple way to do that ?

If you want to change the color of literally *all* object labels, you
can use fl_mapcolor() to modify FL_COL1, the default object label
color. For instance:

fl_mapcolor( FL_COL1, 255, 0, 0 );

will change the color to red.

Refer to the manual for details.

spl
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuhs.mil or see
http://bob.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuhs.mil/mailserv/list-archives/