Ok,let's say that i have this code

string word1 = "safdsa";
string word2 = "sdfafds";
string word3 = "asdas";

richTextBox1.AppendText(word + word2 + word3);

And i want word2(just for example) to be with different cursor.I mean,when i move the mouse pointer over the word2 i want to see another cursor instead of the default cursor.How to do that(if possible)?

with css you can set the cursor

http://www.w3schools.com/css/pr_class_cursor.asp

Whether it works depends on the RichTextBox control you are using.

Is this a web application? or a windows.forms application?

If windows.forms I'm not really the man for that.

yeah,it's windows forms apllication

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.