We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Datagrid Function Keys handling

In our Vb.NET project we are using Function Keys say F1 to F12 Say in Parent -Child relationship Using these function keys we move from Parent to the Child (say the Datagrid) Say when we press F4 we move to the Datagrid(Child) from the Container Form (Parent) But to move from Child (Datagrid) to Parent (Form) we can't trap these Function keys(say F5) from Datagridtextbox column. When we call any function keys from Datagridtextbox Column we should be able to call the Form Level Functions Keys Can this be done in Datagrid in VB.NET?

1 Reply

CB Clay Burch Syncfusion Team August 22, 2002 05:38 AM

I *think* you can catch function keys in a DataGrid by overriding ProcessCmdKey. You can find code snippets in this FAQ that catch the Enter key. Try catching function keys with similar code. http://www.syncfusion.com/faq/winforms/search/902.asp

Loader.
Live Chat Icon For mobile
Up arrow icon