datagridview - C# Key press Event handling -


i have problem application. use customized tabcontrol in neotabcontrollibrary. and, in neotabpage, have several datagridview.

here problem. in datagridview, when press up/down key, works properly. seleceted cell moves up/down. but, when press right/left key, event works on tabcontrol not on datagridview.

i don't need key navigate function on tabcontrol. want use key navigate on selected cell moving only.

is there way fix it? please help.

to provide accurate answear best if provided code. while not ideal in case not need right/left key anywhere else on specific form use

protected override bool processcmdkey(ref message msg, keys keydata) {       //do stuff here       return base.processcmdkey(ref msg, keydata); } 

method specify behaviour of 2 keys.


Comments

Popular posts from this blog

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

Making Empty C++ Project: General exception (Exception from HRESULT:0x80131500) Visual Studio Community 2015 -

How to fix java warning for "The value of the local variable is not used " -