Character color

  • Thread starter Thread starter Randy
  • Start date Start date
R

Randy

Hello all,
Is there a way to make chars in a line of text different colors? (maybe
using escape sequences). I'm talking about say in the text "Test" making the
T one color, and e another color and so on...
Thanks

Cheers :)
 
Are you referring to text printed to the Console?

--
Jared Parson [MSFT]
(e-mail address removed)

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
 
No not to the console, say I have a messagebox and I want to have certain
words in the text a different color than the rest...to highlight that word.
Can this be done?

Thanks


Jared Parsons said:
Are you referring to text printed to the Console?

--
Jared Parson [MSFT]
(e-mail address removed)

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

Randy said:
Hello all,
Is there a way to make chars in a line of text different colors? (maybe
using escape sequences). I'm talking about say in the text "Test" making the
T one color, and e another color and so on...
Thanks

Cheers :)
 
Not that I know of. You might have to roll your own message box if you want
that functionality.

--
Jared Parson [MSFT]
(e-mail address removed)

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

Randy said:
No not to the console, say I have a messagebox and I want to have certain
words in the text a different color than the rest...to highlight that word.
Can this be done?

Thanks


Jared Parsons said:
Are you referring to text printed to the Console?

--
Jared Parson [MSFT]
(e-mail address removed)

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

Randy said:
Hello all,
Is there a way to make chars in a line of text different colors? (maybe
using escape sequences). I'm talking about say in the text "Test"
making
the
T one color, and e another color and so on...
Thanks

Cheers :)
 
Back
Top