InterviewSolution
| 1. |
How Can You Programmatically Position The Cursor On A Given Line Or On A Character In The Richtextbox Control In C#? |
|
Answer» The RichTextBox control contains the Lines array property, which displays one item of an array in a separate line. Each line entry has a Length property, which can be used to accurately position the cursor at a character, as shown in the FOLLOWING code snippet: The RichTextBox control contains the Lines array property, which displays one item of an array in a separate line. Each line entry has a Length property, which can be used to accurately position the cursor at a character, as shown in the following code snippet: |
|