If I want to upload a text file into the textbox and want to highlight certain words with a font color change, how can I do that without drawing the text?
Thank you.
If I want to upload a text file into the textbox and want to highlight certain words with a font color change, how can I do that without drawing the text?
Thank you.
Assuming WinForms, the ForeColor property allows to change all the text in the TextBox (not just what you're about to add):
TextBox.ForeColor = Color.Red;
To only change the color of certain words, look at RichTextBox.
font colour change... So all he needs to do is change the colour.