Is this with Mono 2.4.x?
Does it also happen with .NET or not?

Tarasella wrote:
> 
> Hi
> Some time, when I clicked left button mouse on TextBox application
> crached:
> 
> System.IndexOutOfRangeException: Array index is out of range.
>   at System.Text.StringBuilder.get_Chars (Int32 index) [0x00000] 
>   at System.Windows.Forms.TextBoxBase.SelectWord () [0x00000] 
>   at System.Windows.Forms.TextBoxBase.TextBoxBase_MouseDown (System.Object
> sender, System.Windows.Forms.MouseEventArgs e) [0x00000] 
>   at System.Windows.Forms.Control.OnMouseDown
> (System.Windows.Forms.MouseEventArgs e) [0x00000] 
>   at System.Windows.Forms.Control.WmLButtonDown
> (System.Windows.Forms.Message& m) [0x00000] 
>   at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message&
> m) [0x00000] 
>   at System.Windows.Forms.TextBoxBase.WndProc
> (System.Windows.Forms.Message& m) [0x00000] 
>   at System.Windows.Forms.TextBox.WndProc (System.Windows.Forms.Message&
> m) [0x00000] 
>   at System.Windows.Forms.Control+ControlWindowTarget.OnMessage
> (System.Windows.Forms.Message& m) [0x00000] 
>   at System.Windows.Forms.Control+ControlNativeWindow.WndProc
> (System.Windows.Forms.Message& m) [0x00000] 
>   at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg,
> IntPtr wParam, IntPtr lParam) [0x00000]
> 
> how to avoid this?
> 
> Taras Senyk
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Problem-with-TextBox-tp24565910p24566380.html
Sent from the Mono - WinForms mailing list archive at Nabble.com.

_______________________________________________
Mono-winforms-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-winforms-list

Reply via email to