Hello again guys,
I have a tabbed Rich Text Editor (I use CType to control the text box, so keep that in mind). Anyway, I need to find a way to focus on a certain character in the text. For example, if the text says:
<span></span>
I would like it to focus in between the two span tags. Also, my other problem is that I want the text to be inputted in a specific position in the rich text box. For example, if I type:
<html>
<body>
</body>
</html>
If I say: CType(TabControl1.SelectedTab.Controls.Item(0), RichTextBox).Text = CType(TabControl1.SelectedTab.Controls.Item(0), RichTextBox).Text + "SOMETHING"
The RichTextBox will say
<html>
<body>
</body>
</html>
SOMETHING
. Thanks in advance.
I have a tabbed Rich Text Editor (I use CType to control the text box, so keep that in mind). Anyway, I need to find a way to focus on a certain character in the text. For example, if the text says:
<span></span>
I would like it to focus in between the two span tags. Also, my other problem is that I want the text to be inputted in a specific position in the rich text box. For example, if I type:
<html>
<body>
</body>
</html>
If I say: CType(TabControl1.SelectedTab.Controls.Item(0), RichTextBox).Text = CType(TabControl1.SelectedTab.Controls.Item(0), RichTextBox).Text + "SOMETHING"
The RichTextBox will say
<html>
<body>
</body>
</html>
SOMETHING
. Thanks in advance.