https://bugzilla.novell.com/show_bug.cgi?id=338554

           Summary: MessageBox.Show defaultResult does activate the button
           Product: Mono: Class Libraries
           Version: 1.2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Minor
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [EMAIL PROTECTED]
          Found By: ---


Description of Problem:
A Windows message box activates the button associated with the specified
default result. A MWF one does not.

Steps to reproduce the problem:
1. Compile and run the following program.
using System.Windows.Forms;

static class Test
{
        static void Main ()
        {
                MessageBox.Show (MessageBox.Show ("Text", "Caption",
MessageBoxButtons.YesNo, MessageBoxIcon.None,
MessageBoxDefaultButton.Button2).ToString ());
        }
}
2. Press Enter.


Actual Results:
"Yes"

Expected Results:
"No"


How often does this happen? 
Allways.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to