Simão
Microsoft Student Partner

Não sei alguém já teve este pequeno problema, tentar capturar a tecla que clicada é muito simples, e tentar capturar o [Ctrl+P] por exemplo?

Para capturar o [Ctrl+P] não pode ser no evento KeyPress mas sim no KeyDown, e é este o código:

If

e.KeyCode = Keys.P And e.Modifiers = Keys.Control Then

      'imprimir

End If

posted on Monday, March 05, 2007 12:58 AM
Comments
No comments posted yet
Title  
Name  
Url
Box Code
Protected by FormShield
Comments