[Mono-bugs] [Bug 516960] [PATCH] DataGridView MoveCurrentCell can attempt to access Column index -1

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Jun 26 14:20:19 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=516960

User tom_hindle at sil.org added comment
http://bugzilla.novell.com/show_bug.cgi?id=516960#c2





--- Comment #2 from tom hindle <tom_hindle at sil.org>  2009-06-26 12:20:17 MDT ---
I haven't had time to produce a isolated test case but: 

It occurs when changing DataGridView.RowCount property.

The state of the immediate variables are:
first_col_index = 0
displayedCOlumnsCount = 0
disp_x = 0
and so i get set to -1:
for (int i = first_col_index + displayedColumnsCount - 1; i < disp_x; i++)

-- 
Configure bugmail: http://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