Handle the DataGridView.ColumnStateChanged event. The event passes an
instance of DataGridViewcolumnStateChangedEventArgs, which includes a
reference to the Column, as well as the type of state that has changed. You
can then set the Selected property of the Column to false.
--
HTH,
Kevin Spencer
Microsoft MVP
Professional Numbskull
Show me your certification without works,
and I'll show my certification
*by* my works.
"tony lock" <to******@discussions.microsoft.com> wrote in message
news:26**********************************@microsof t.com...
Has anybody found a way to disable a column in DataGridView i.e prevent it
being selected. With DataGrid it was fairly easy to check on the column
being
entered and move the selection to the next column, this does not seem
possible with DataGridView.