2

I want to use different color for each character in a TextBox. Eg: when user types first 10 character it should be black after that red.

How can I do this please help. I am using using simple VB.NET windows form.

Tim Schmelter
  • 429,027
  • 67
  • 649
  • 891
Preeti
  • 1,376
  • 8
  • 56
  • 112

1 Answers1

6

It's not possible with a TextBox. Use a RichTextBox instead. Instructions here

Community
  • 1
  • 1
nik
  • 1,471
  • 1
  • 11
  • 16