How would you clear all of the text out of a rich text box?? I've been trying to figure it out ofr 2 hours and I can't seem to get it to work. Also, How would you make certain text in the rich text colored??? Please respond.
Printable View
How would you clear all of the text out of a rich text box?? I've been trying to figure it out ofr 2 hours and I can't seem to get it to work. Also, How would you make certain text in the rich text colored??? Please respond.
clear text
Richtextbox1.text = ""
for color check here:
http://forums.vb-world.net/showthrea...threadid=32273
Use the SelColor property to change the color.
Code:RichTextBox1.SelColor = vbBlue