Creating Hot-keys (shortkuts) functionality

  • Thread starter Thread starter Lars Netzel
  • Start date Start date
L

Lars Netzel

I have a two datagrids on a page and I want to use ALT+A and ALT+Z to move
from the first row in one grid to the firstrow on the other with thes
kombinations..

I trired KeyDown Event but I only seem to be able to catch ONE key.. with
the system.Windows.Forms.KeyEventArgs

regards
/Lars Netzel
 
* "Lars Netzel said:
I have a two datagrids on a page and I want to use ALT+A and ALT+Z to move
from the first row in one grid to the firstrow on the other with thes
kombinations..

I trired KeyDown Event but I only seem to be able to catch ONE key.. with
the system.Windows.Forms.KeyEventArgs

If you are not required to use Alt+* and you can use Ctrl+*, just define
a hidden main menu and add the code to the menu items' 'Click' event handlers.
 
Thats a good idea, but I still need to have it completely dynamic.. I'm
later construktiona Customized Hotkeys funktion where the users will be
abel to choose whatever combinations they want for shortscuts. So i'm
definately required to make ALT key work.

/lars
 
Back
Top