Hidden Text From RichTextBox
C#
1
Posts
1
Posters
0
Views
1
Watching
-
Hello, I've been retrieving the hidden text from a link (RichTextBox link) using the following: private int GetFirstHiddenCharacter(int position) { this.Select(position, 1); while (this.SelectionType != RichTextBoxSelectionTypes.Empty) { position++; this.Select(position, 1); } return position; } then using a substring function to get the rest of the hidden text. Anyone know of a more elegant way to do this? i.e. without selecting each character. Thanks. Abisodun