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

--- shadow/80163        2006-12-06 08:19:50.000000000 -0500
+++ shadow/80163.tmp.4278       2006-12-06 09:42:49.000000000 -0500
@@ -2,13 +2,13 @@
 Product: Mono: Class Libraries
 Version: 1.2
 OS: All
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Minor
 Component: Windows.Forms
 AssignedTo: [EMAIL PROTECTED]                            
 ReportedBy: [EMAIL PROTECTED]               
 QAContact: [EMAIL PROTECTED]
 TargetMilestone: ---
@@ -50,6 +50,23 @@
 This is caused by the line
 ContextMenu = menu;
 in the TextBox.TextBox().
 I suggest not assigning the value of "menu" to the ContextMenu, but 
 displaying it when the user triggers the context menu if the ContextMenu 
 property returns null.
+
+------- Additional Comments From [EMAIL PROTECTED]  2006-12-06 09:42 -------
+After this is fixed, ComboBox may require a review, since currently 
+the ComboBox.ContextMenu works only on the drop down button.
+
+using System.Windows.Forms;
+class TestForm : Form {
+    static void Main() {
+        Application.Run(new TestForm());
+    }
+    public TestForm() {
+        ComboBox ComboBox = new ComboBox();
+        ComboBox.ContextMenu = new ContextMenu();
+        ComboBox.ContextMenu.MenuItems.Add("Test");
+        Controls.Add(ComboBox);
+    }
+}
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to