Hi, I have a textbox which is searched for a string, the string is highlighted
On a button_click() event, how do I deselect the text (sellenght = 0), then place the cursor after the selected text (selstart).
Thanks...
Code:
TextBox.SelStart = InStr(TextBox.Text, strSeek) - 1
TextBox.SelLength = Len(strSeek)
TextBox.SetFocus
On a button_click() event, how do I deselect the text (sellenght = 0), then place the cursor after the selected text (selstart).
Thanks...