Handle Keypress on FormLevel

  • Thread starter Thread starter Finn Stampe Mikkelsen
  • Start date Start date
F

Finn Stampe Mikkelsen

Hi

Can i handle keypress on a form-level, with no regard to wath control has
focus and which tabcontrol is visible???

If so, could you include sample code with weight on F-keys and key-codes in
general

/Finn
 
Forgot to say, that i'm using VB.NET 2003

/Finn

Set the Form's KeyPreview property to True and then handle the
KeyPress, KeyDown, KeyUp events as required.
 
Back
Top