Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

colored richtextbox words

Status
Not open for further replies.

javijerome

Programmer
Joined
Jun 26, 2010
Messages
25
Location
PH
so i have this richtextbox in my form and i want some specified words typed there to be colored.

for example, the word "program", "if", "else", and "for" will automatically turn into a color if blue as the user types them.

this is the same with Visual Studio's IDE for source codes. where in everytime we type the "using", "void", or "public" it turns into blue.
 
look around on the web, there are tons of examples about syntax highlighting. I'll give you one to start with:


/Daddy

-----------------------------------------------------
What You See Is What You Get
Never underestimate tha powah of tha google!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top