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 #37985 is a reply to message #37974] Wed, 11 February 2004 12:33 Go to previous messageGo to previous message
Dick Jackson is currently offline  Dick Jackson
Messages: 347
Registered: August 1998
Senior Member
> "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: Sat Oct 11 11:22:47 PDT 2025

Total time taken to generate the page: 1.28075 seconds