Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
678
Wingrid, interception key F8 with keypress
posted

Hello,

In my application, i have ribbon menu etc... and one ultragrid.

I want to check if user press F8 key, to start procedure.

I put the following program on Ultragrid1_keypress events, but it doesn't works.

 

 

 

 

 

 

Private Sub UltraGrid1_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles UltraGrid1.KeyPress

'je check si l'utilisateur a cliqué‚ sur la touche F8
If GetAsyncKeyState(77) <> 0 Then
MsgBox("Coucou")
End If
End Sub

Thank you for your help and sorry for my weak english.

Parents Reply Children
No Data