Look into KeyPreview, OnKeyPress.
KeyPreview instructs the framework to send you the keys pressed on the form.
OnKeyPress will allow you to see what key is pressed. You can then use the
following code to find the next control:
if (ActiveControl != null)
ActiveControl.GetNextControl(ActiveControl, true);
Don't forget to check for shift key. Pass false to the second param in that
case.
---
This posting is provided "AS IS" with no warranties, and confers no rights.
Alex Korchemniy
"FredSP" wrote:
I have a client who wishes to use the Enter Key and/or Arrow Keys, as well as
the Tab Key, to navigate between Fields in a Windows form.
Is this possible using C# in Visual Studio 2000 ?