Hi
I've a richtextbox on my form. when i try to select some characters with the mouse the selection always stops at the end of the current word.
how can i make that the selection stops at the mouse position.
thanks
Printable View
Hi
I've a richtextbox on my form. when i try to select some characters with the mouse the selection always stops at the end of the current word.
how can i make that the selection stops at the mouse position.
thanks
It's a bug.
Fix: Add the following line in Form_Load.
RichTextBox1.AutoWordSelection = False
2008 has same bug too. :mad:
Hi,Quote:
Originally Posted by yosilb
You can try this:
vb.net Code:
Private Sub rtxtEditor_SelectionChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles rtxtEditor.SelectionChanged Dim bUpdating As Boolean = False 'Set flag for bypassing bUpdating = True End Sub
rtxtEditor is your Richtextbox
Wkr,
sparrow1