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=78377

--- shadow/78377        2006-05-11 23:35:26.000000000 -0400
+++ shadow/78377.tmp.7938       2006-05-11 23:35:26.000000000 -0400
@@ -0,0 +1,51 @@
+Bug#: 78377
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Minor
+Component: Windows.Forms
+AssignedTo: [EMAIL PROTECTED]                            
+ReportedBy: [EMAIL PROTECTED]               
+QAContact: [EMAIL PROTECTED]
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: ComboBox keyboard selection
+
+Currently ComboBox behavior is not as easy to input values as that of MS.NET:
+
+- When ComboBox gets focus, on .NET it selectAlls the text so that just
+typing characters clears the value.
+- When DropDownStyle is DropDown, when we expand the drop down list, and
+when there is such an item that starts with the same character as that of
+current entry, its current entry will be lost and its selected text becomes
+the existing entry. The search is not limited to ASCII input.
+- When DropDownStyle is DropDownList, when we type characters it tries to
+find an entry from current item index that starts with the same character.
+Say, if there is an entry "Z" and when we type 'Z' in the ComboBox, its
+cursor simply moves there.
+
+
+using System;
+using System.Windows.Forms;
+
+public class Test : Form
+{
+       public static void Main ()
+       {
+               Application.Run (new Test ());
+       }
+
+       public Test ()
+       {
+               ComboBox cb = new ComboBox ();
+               cb.DropDownStyle = ComboBoxStyle.DropDownList;
+               cb.DataSource = new string [] {"A", "B1", "B2", "C", "D", "D", 
"Z", "T1",
+"B3", "\u3042\u3044"};
+               Controls.Add (cb);
+       }
+}
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to