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=78444 --- shadow/78444 2006-05-18 12:10:59.000000000 -0400 +++ shadow/78444.tmp.25436 2006-05-18 12:11:00.000000000 -0400 @@ -0,0 +1,69 @@ +Bug#: 78444 +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: ComboBox DropDown does not move focus to its textbox in OnGotFocus() + +When ComboBox is DropDown and it receives focus by other way than clicking +textbox, it does not move its internal focus to the text box. Thus it is +impossible to fully control it with keyboard navigation. + +Steps to reproduce the problem: +1. compile and run repro (actually anything that contains DropDown ComboBox +and others can reproduce this bug.) +2. move focus to the ComboBox +3. type TAB and then SHIFT+TAB (move forward and backward). + +using System; +using System.Windows.Forms; + +public class Test : Form +{ + public static void Main () + { + Application.Run (new Test ()); + } + + public Test () + { + ComboBox tb = new ComboBox (); + Console.WriteLine (tb.DrawMode); + Console.WriteLine (tb.ItemHeight); + Console.WriteLine (tb.PreferredHeight); + tb.ItemHeight = 30; + tb.Text = "sample"; + //TextBox tb = new TextBox (); + tb.Top = 100; + tb.TabIndex = 0; + Controls.Add (tb); + + Panel p = new Panel (); + Button b1 = new Button (); + b1.Text = "b1"; + b1.DialogResult = DialogResult.OK; + Button b2 = new Button (); + b2.Left = 100; + b2.Text = "b2"; + this.AcceptButton = b1; + p.Controls.Add (b1); + p.Controls.Add (b2); + Controls.Add (p); + } +} + + +Additional Information: + +It is different from bug #78346, which does not mention TextBox focus. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
