Text Colouring

ok i'm making a text editor and what i'm tryin to do is make the text change colour. sounds simple, but i'm a little stuck on it. can anyone help me

thnks




Answer this question

Text Colouring

  • Sto King

    RichTextBox have SelectionColor, SelectionBackColor, SelectionFont and other properties to control style of the selected text. So all you need is to select text and change this properties. To select text simply call RichTextBox.Select(start, length).

  • inc3pt4

    Hi!

    You need to change whole text color or just a parts of text How you making text editor - own control, TextBox control, RichTextBox control



  • mian mahboob

    ok it's a richtextbox, it's applying colour to different bits of text.

  • Text Colouring