TextBox + colour

  • Thread starter Thread starter Markk
  • Start date Start date
M

Markk

Hi.
I would like to ask, if it's possible make text in Classic TextBox control
coloured. I think like in RichTextBox. One Part of text will have one color,
second part text another color.

Maybe I colud overload OnPaint method, but I don't know how.-
Is on Internet any example.
Thank you very much for answers.
 
I would like to ask, if it's possible make text in Classic TextBox control
coloured. I think like in RichTextBox. One Part of text will have one color,
second part text another color.

Not different colors for different parts of the text, no. Why don't
you just use the RichTextBox?



Mattias
 
Hi.
I trying to use classic textbox, because I would like to make highlighting
editor.
and Richtext box is too slow when I want coloured many text.
Or any Ideas How Can I make highlighting editor with RTB?
Thanks
 
If you want a highlighting editor, check out SharpDevelop, which is under
GPL and has a fairly good editor control with much more than just an easy to
use highlighting.

http://www.icsharpcode.net/OpenSource/SD/Download/


Markk said:
Hi.
I trying to use classic textbox, because I would like to make highlighting
editor.
and Richtext box is too slow when I want coloured many text.
Or any Ideas How Can I make highlighting editor with RTB?
Thanks
 
Back
Top