I'm trying to find where this behaviour is documented:
Create a new WinForms app in VC#2005, drop a DataGridView on the form.
Put this code in the ctor after InitializeComponent:
DataGridView1.Columns.Add("foo", "foo");
DataGridViewComboBoxColumn col = new
DataGridViewComboBoxColumn();
col.DataSource = new List<string>(new string[] { "",
"apple", "banana", "pear" });
DataGridView1.Columns.Add(col);
DataGridView1.Rows.Add(1, "");
DataGridView1.Rows.Add(1, "");
DataGridView1.Rows.Add(1, "");
DataGridView1.Rows.Add(1, "");
DataGridView1.Rows.Add(1, "");
We just add a text column and a combobox column. Run the app. Make a
cell in the combobox column the current cell.
Press the period (.) key.
Note that the cell enters edit mode.
Who can tell me where this is implemented and/or documented?
Note that neither KeyDown nor KeyPress fire when this happens.
--
Larry Lard
la*******@googlemail.com
The address is real, but unread - please reply to the group
For VB and C# questions - tell us which version