Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 203
  • Last Modified:

RTF Question

I have a RichTextBox. When the user types in a certain word such as "hello" I want the font color of that word to chance to another color like blue. This is like syntax highlighting in Visual Studio .Net and other development enviroments. Ive tried to do this but cannot find an answer. Please help me.
0
GoRgOn
Asked:
GoRgOn
1 Solution
 
GoRgOnAuthor Commented:
i tried it but it doesn't even work.

Any other suggestions?
0
 
Fahad MukhtarDistinguished EngineerCommented:
Did you check both part I and II??

Syntax Highlighting in RichTextBox Control - Part 1
http://www.c-sharpcorner.com/Code/2003/June/SyntaxHighlightInRichTextBoxP1.asp

Syntax Highlighting in RichTextBox Control - Part II
http://www.c-sharpcorner.com/Code/2003/June/SyntaxHighlightInRichTextBoxP2.asp
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now