Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Idl-pvware > Re: !P.backgrou...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 4 Topic 5715 of 5734
Post > Topic >>

Re: !P.background color question

by David Fanning <news@[EMAIL PROTECTED] > May 7, 2008 at 12:13 PM

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.")




 4 Posts in Topic:
!P.background color question
3Rs <bernat.puigdomene  2008-05-07 10:11:51 
Re: !P.background color question
David Fanning <news@[E  2008-05-07 11:23:27 
Re: !P.background color question
3Rs <bernat.puigdomene  2008-05-07 10:36:59 
Re: !P.background color question
David Fanning <news@[E  2008-05-07 12:13:35 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu May 15 21:38:46 CDT 2008.