Junior,
You will have to handle the tabbing for the grid, most likely overriding
the ProcessTabKey method on the grid. You will have to determine which
direction to proceed (what if the ALT key is pressed as well, you need to
tab backwards).
I would look at reflector to look at the ProcessTabKey method, and also
the TabToNextCell and TabToPreviousCell methods for guidance on how to find
the next cell. It's not a simple task, but it does look doable.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"osmarjunior" <os*********@gmail.comwrote in message
news:11*********************@e3g2000cwe.googlegrou ps.com...
>I have a DataGridView with some read-only cells.
I want it skips these cells when the user press Tab or Shift+Tab keys.
How can I do this?
Thanks.
Junior.