Doug,
You would probably have to derive a class from the DataGrid control and
override the WndProc method so that you process the tab key (or even the
PreProcessMessage method as well). Once you catch the tab key and figure
out which cell you are on, you can determine the action to take.
Also, you might have to do processing like this in a class that
implements IMessageFilter and is registered with the static AddMessageFilter
method on the Application class, so that you get first crack on the message
before the parent of the data grid processes (like the form, and determining
that the control should be tabbed).
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
ni**************@exisconsulting.com
"Doug" <do**********@flytxt.com> wrote in message
news:u$**************@TK2MSFTNGP10.phx.gbl...
Hello,
I have a datagrid with 3 columns,
however when i tab between the cells, I do not want to make the 3rd column
tabbed.
so it immediately jumps to the 1st column of the next row.
Is there anyway to do this?
Thanks,
Doug