In my C# aplication I have RichTextBox and i want detect cursor position in RichTextBox text when I click on it. For example, if I click on RichTexBox so that cursor is placed after 10 character, then I want to have this number as varble int a. Please help me and say how to do that?
P.S. Sorry about my English, it is not my native language.