Re: color of button [message #18471] |
Fri, 07 January 2000 00:00  |
cjengo
Messages: 28 Registered: June 1999
|
Junior Member |
|
|
In article <38734608.1EE8EABA@va.aetc.com>,
bpuc@va.aetc.com wrote:
>
> As far as I know, if you are working on a system which uses X windows
> (unix) you can use the keyword resource_name when defining the
widget.
> The help file gives an example of changing the color of a button this
> way. I'm not sure if this will allow you to change the color once the
> button is pressed, however.
>
> --
> Bernard Puc AETC, INC.
> bpuc@va.aetc.com 1225 Jefferson Davis Highway #800
> (703) 413-0500 Arlington, VA 22202
>
Hope you guys don't mind, but I have a slightly different question
about implementing widget colors. I never knew this capability
existed, so I figured it would be great to use for some GUIs I wrote
that have lots and lots of drop-lists and cw-fields, but only a handful
of which the user needs to actively change or look at each time. I got
it to work fine for a simple test case with several buttons, but when I
apply it to my real code, I can only use major colors like red, green,
blue, etc (I'd like to use MistyRose, it's not so gaudy as the
others). Any ideas why?
Chris
--
_______________________________________
Chris Jengo - Senior Imaging Scientist
Earth Satellite Corp. - Rockville, MD
cjengo@earthsat.com
Sent via Deja.com http://www.deja.com/
Before you buy.
|
|
|