[Mono-bugs] [Bug 371751] New: Can still input into disabled combobox

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Mar 17 10:39:42 EDT 2008


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


           Summary: Can still input into disabled combobox
           Product: Mono: Class Libraries
           Version: 1.2.6
          Platform: PC
        OS/Version: openSUSE 10.3
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: derekd at omni-ts.com
         QAContact: mono-bugs at lists.ximian.com
                CC: stephane at omni-ts.com
          Found By: ---


Created an attachment (id=202573)
 --> (https://bugzilla.novell.com/attachment.cgi?id=202573)
Disabled combobox accepts key entries

This only occurs for me in the openSUSE Mono VMWare image. It does not occur in
Mono/Windows. If I disable a combobox then use comboBox.Select(), then I can
still enter a value. If I use combobox.Focus(), then I cannot enter a value.

The .net docs say users should use Select() primarily. So I'd like to stick
with it.

Steps to reproduce:
1. Create a form with a combobox.
2. Set comboBox1.Enabled=false
3. Call comboBox1.Select()
4. Type in some characters

Actual result:
characters appear in comboBox despite the box being greyed out.

I have attached a sample program.


-- 
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.


More information about the mono-bugs mailing list