Connecting Tech Pros Worldwide Forums | Help | Site Map

Change text colour in table

Dwight
Guest
 
Posts: n/a
#1: Nov 13 '05
I need to change the colour of text values within a table. For example
"Software" being red, "Lab Software" blue etc.
To change colour of number values simply, 1[red], entered into the
format section of design view makes the number 1 red. But dosnt work
for text.
Can anyone help.

Lumpierbritches
Guest
 
Posts: n/a
#2: Nov 13 '05

re: Change text colour in table


You need to use forecolor property in your code.
Hugh Webster
Guest
 
Posts: n/a
#3: Nov 13 '05

re: Change text colour in table


Yes, it's not very clear in the help for Format, but for text you have to
set the format to [Red]@. The @ bit actually displays the text.

On 13 Oct 2004 08:00:41 -0700, Dwight <dwightbot@hotmail.com> wrote:
[color=blue]
> I need to change the colour of text values within a table. For example
> "Software" being red, "Lab Software" blue etc.
> To change colour of number values simply, 1[red], entered into the
> format section of design view makes the number 1 red. But dosnt work
> for text.
> Can anyone help.[/color]



--
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/
user_5701
Guest
 
Posts: n/a
#4: Nov 13 '05

re: Change text colour in table


I wasn't aware you could change colors of anything in a table. Why
would you want to do this anyway, since users should never see the
table anyway.

dwightbot@hotmail.com (Dwight) wrote in message news:<f0af6fc1.0410130700.85c3275@posting.google.c om>...[color=blue]
> I need to change the colour of text values within a table. For example
> "Software" being red, "Lab Software" blue etc.
> To change colour of number values simply, 1[red], entered into the
> format section of design view makes the number 1 red. But dosnt work
> for text.
> Can anyone help.[/color]
Dwight Bottomley
Guest
 
Posts: n/a
#5: Nov 13 '05

re: Change text colour in table


Thanks this has helped,
But do you know how i can change the colour of multiple values. I.E i
want "Software" to be red, "Lab Software" to be gren etc. When i enter @
it changes all the values to that colour.
When using numbers this works.(in the format property)
1[red];2[green];3[blue]. So then each number is colured differently.
Just can't do it with text.
Any help would be appreciated.

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Closed Thread