Replace command that uses color?

Kayot

Well-known member
Joined
Mar 6, 2007
Messages
49
Programming Experience
3-5
Is there a way to use a replace command so that it changes the new texts color?

Exampe
VB.NET:
String1 = replace(String1, "Text", "Text".Color)
 
Plain text in a String can't be formatted with color and font. You can do this with a RichTextBox control where you search and set SelectionFont and SelectionColor.
 
Back
Top