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

Home » Public Forums » archive » Re: modify widget base colour
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: modify widget base colour [message #37974] Thu, 12 February 2004 02:41 Go to previous message
Valerio Pace is currently offline  Valerio Pace
Messages: 9
Registered: October 2003
Junior Member
Thank you, Dick.
I will use your second solution!

Cheers
Valerio

"Dick Jackson" <dick@d-jackson.com> ha scritto nel messaggio
news:7kwWb.463709$JQ1.203699@pd7tw1no...
>> "David Fanning" <david@dfanning.com> ha scritto nel messaggio
>> news:MPG.1a93efeca0a54d2a989687@news.frii.com...
>>> Valerio Pace writes:
>>>
>>>> do you know how can modify widget base background color?
>>>
>>> In general, it is not possible to do this from within IDL.
>>> If you are running on a UNIX machine, however, you might
>>> try fiddling with the RESOURCE_NAME keyword and X11 resources.
>>> You might be able to get something like this to work.
>>
>> Unfortunatly I'm using Windows, so the only thing I can do is to
> realize a
>> widget draw as final widget, with dimensions exactly like widget base
> group
>> leader and background color (ERASE procedure) as I want.
>> This solution is right for the widget button and widget draw realized
> on the
>> base, but for widget label background color is always the default one
>> (sigh!!!)
>
> Hi,
>
> I'm not sure *exactly* what your desired result is, but there may be a
> couple of options:
>
> You have tried widget_label but it doesn't give the coloring you want.
> Could Widget_Text work instead? Choosing Editable=1 or Editable=0 (the
> default) gives different appearance, perhaps one of these will work.
>
> In Windows, the colors that IDL uses for widgets are all controlled by
> your Display Properties control panel (Settings -> Control Panel ->
> Display, or right-click your desktop and click Properties) under the
> Appearance tab. A color "scheme" is a collection of all the colors used
> for widget parts. Perhaps you can change one of these to suit your need?
>
> Hope this helps!
>
> Cheers,
> --
> -Dick
>
> Dick Jackson / dick@d-jackson.com
> D-Jackson Software Consulting / http://www.d-jackson.com
> Calgary, Alberta, Canada / +1-403-242-7398 / Fax: 241-7392
>
>
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: That filelength question - again ....
Next Topic: Working In 3-Space

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

Current Time: Fri Oct 10 16:31:37 PDT 2025

Total time taken to generate the page: 1.13719 seconds