Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there.
Changed by [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=78402 --- shadow/78402 2006-05-15 06:00:06.000000000 -0400 +++ shadow/78402.tmp.10391 2006-05-15 06:00:06.000000000 -0400 @@ -0,0 +1,46 @@ +Bug#: 78402 +Product: Mono: Class Libraries +Version: 1.1 +OS: +OS Details: +Status: NEW +Resolution: +Severity: +Priority: Normal +Component: Windows.Forms +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: TextBoxBase: text selection does not work when TextAlign is not HorizontalAlignment.Left + +TextBoxBase seems to have incorrect mouse selection start position. As a +result, text selection by mouse does not work when it is not left-aligned. + +Pretty straightforward example: + +using System; +using System.Windows.Forms; + +public class Test : Form +{ + public static void Main () + { + Application.Run (new Test ()); + } + + public Test () + { + TextBox tb = new TextBox (); + tb.Text = "sample"; + tb.TextAlign = HorizontalAlignment.Right; + Controls.Add (tb); + } +} + +Steps to reproduce the problem: +1. compile and run it. +2. move to the text box and deselect text. +3. try to select some. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
