C
Cincy Steve
Guest
I have a derived DataGridView in which there are ReadOnly cells that are marked as such. Im overriding the ProcessDialogKey method so that I can automatically jump past ReadOnly cells when the user hits Tab, Enter, etc. The behavior Im seeing which doesnt look right is that when the user hits Enter, base.ProcessEnterKey(Keys.Enter) jumps to the next cell (in a different column) instead of to the next row (in the same column). Im under the impression that Enter is supposed to stay in the same column, while Tab moves from cell to cell. Invoking ProcessEnterKey is the first thing I do in my ProcessDialogKey override. Am I missing something?
I can get around this by recording the CurrentCell.ColumnIndex before invoking ProcessEnterKey, but Id like to avoid all that monkey business.
Thanks for your help. Steve
Continue reading...
I can get around this by recording the CurrentCell.ColumnIndex before invoking ProcessEnterKey, but Id like to avoid all that monkey business.
Thanks for your help. Steve
Continue reading...