Possible bug with ctrl-home/end

Oct 21, 2007 at 8:05 PM
If i load the superlist with data, and then sort one of the columns without selecting and item in the list.
If I then press ctrl-end or ctrl-home, the component crash at ListSection.cs line 490 where _focusedItem is null.

I handle this bug in my keydown event with
if ( (e.KeyCode == Keys.Home || e.KeyCode == Keys.End) && listControl1.SelectedItems.Count == 0 )
e.Handled = true;

Great control, thank you very much. It has excellent code, design, performance and functionality!
Coordinator
Oct 25, 2007 at 1:05 PM
I've just fixed this bug as per changset 9737.