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

Home » Public Forums » archive » Re: change background color in widget_text
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: change background color in widget_text [message #74844] Wed, 02 February 2011 15:52 Go to previous message
Adam Lefkoff is currently offline  Adam Lefkoff
Messages: 3
Registered: July 2010
Junior Member
if you happen to be on linux, a Widget_Table() with a single cell, and no row
or column headers looks and acts (somewhat) just like a single line, editable
text widget with the added bonus that you can set the colors for the foreground
and background of a table cell. I use this workaround all the time when I need
to control the foreground/background color for text entry... Sadly, this hack
doesn't work for Windows because no matter what your table size, you always get
the dreaded horizontal/vertical scroll bars (even if there is nothing to
scroll) which makes your cell very un-"text widget like"...

Being able to change the foreground/background color of the text in a text
widget (and a label, too, of course), just like you already can with the text
in a cell of a Widget_Table() would be ideal.

cheers,

Adam

On 2/2/2011 2:31 PM, clrussell wrote:
> Hi, Does anyone know how you go about changing the background color in
> a text widget from the default gray. Or change the color of the text.
> What I need is to be able to highlight or fill the text widget with
> either red or green. Any suggestions? Thanks so much! Cindy
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: new graphics legend
Next Topic: Coyote Graphics Update, Wed 2 Feb

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

Current Time: Wed Oct 08 15:23:00 PDT 2025

Total time taken to generate the page: 0.00412 seconds