Hi,
I have a paragraph of text, which i want to display to the user (possibly in a richtextbox). However, some words need to be in another colour.
I tried to use rtf, but when i use:
- richTextBox1.RTF = "my rtf string", the richTextBox1.RTF does not change (seems like this property is read-only!)
- richTextBox1.RTF.insert(index,string) again does not change the value of the rtf property.
So my question is:
1) How can I display text to the user in 2 different colours?
2) The user will then click on words displayed to him and I need to obtain a string of the word he clicked on (so obviously the control I use must be able to detect where the 'cursor' is)...
Any ideas?
thanks m8s!