comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: !P.background color question
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: !P.background color question [message #60297] Wed, 07 May 2008 11:13 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
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.")
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: !P.background color question
Next Topic: retaining ROI when rescaling?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 17:51:44 PDT 2025

Total time taken to generate the page: 0.07800 seconds