[Mono-bugs] [Bug 343962] New: DataGridView: down arrow key ignored

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Nov 26 05:21:49 EST 2007


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

           Summary: DataGridView: down arrow key ignored
           Product: Mono: Class Libraries
           Version: 1.2.6
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at ximian.com
        ReportedBy: kobruleht2 at hot.ee
         QAContact: mono-bugs at ximian.com
        Depends on: 343961
          Found By: ---


To reproduce

Run the code, press down arrow key

Observed:

keypress is ignored

Expected:

second row should become active.

Environment:

1.2.6 preview 2
NET 2 profile
System.Drawing & Configuration from Nov 24, 2007 monocharge
Windows XP
VCSE 2008


Code:

using System;
using System.Windows.Forms;
using System.Collections.Generic;

public class Test
{
    static void Main()
    {
        Application.Run(new Form1());
    }
}

class Form1 : Form
{
    public Form1()
    {
        Controls.Add(new Grid());

    }
}

class Grid : DataGridView
{
    public Grid()
    {
        BindingSource BindingSource = new BindingSource();
        List<cust> l = new List<cust>();
        l.Add(new cust());

        BindingSource.DataSource = l;
        DataSource = BindingSource;
    }
}

class cust
{
    public string Name
    {
        get { return "test"; }

        set { }
    }
}


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