3Rs writes:
> Ok and with this color how can I change the !P.background color ???
> I want to draw WIDGET_DRAWS with this color.
>
> Thanks for the rutine ! ;)
Widget_Control, drawWidgetID, Get_Value=wid
WSet, wid
ERASE, COLOR=FSC_COLOR('face')
Or,
TVLCT, FSC_COLOR('FACE', /TRIPLE), !P.BACKGROUND
Widget_Control, drawWidgetID, Get_Value=wid
WSet, wid
ERASE, COLOR=!P.Background
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming (www.dfanning.com)
Sepore ma de ni thui. ("Perhaps thou speakest truth.")


|