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

Home » Public Forums » archive » Re: How can I change the color of a WIDGET_BASE?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: How can I change the color of a WIDGET_BASE? [message #21951] Wed, 04 October 2000 00:00
promashkin is currently offline  promashkin
Messages: 169
Registered: December 1999
Senior Member
Miguel Angel Cordoba wrote:

> Hi,
>
> how can I change the color of a WIDGET_BASE?

I'd suggest to capture the window, save the screen shot as GIF file,
replace colors with your favorite MS image editor and place that figure
in the manual for your software (that you are writing, too, as you go,
right? :-)
Then, because nothing can be done about base colors that would be
cross-platform, leave the code as it is. But say to the user that in
*their* discounted version colored bases are not implemented, and to get
colored bases that they see in the manual will cost them extra.
This is a "win-win" situation: they *believe* you are so good that the
bases are colored, but they will never pay extra just to find out how
you did that. You will be safe :-)
Cheers,
Pavel
Re: How can I change the color of a WIDGET_BASE? [message #21957 is a reply to message #21951] Wed, 04 October 2000 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Miguel Angel Cordoba (cordoba@ehma.upc.es) writes:

> how can I change the color of a WIDGET_BASE?

On a UNIX system, you can use the RESOURCE_NAME
keyword to assign a Motif X resource to the widget.
On other platforms, I'm afraid you are out of luck.

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: comp.lang.pvwave-idl :-)
Next Topic: Base Widget PostCreation event

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

Current Time: Sat Oct 11 11:46:01 PDT 2025

Total time taken to generate the page: 1.60457 seconds