Hallo ,
wie kann man unter VB.Net abfragen, ob eine bestimmte Taste (ESCAPE) in einem Formular gefrückt wurde ?
Code
' VB 6
If KeyCode = vbKeyEscape then ' funktioniert
Form98.Show
End if
' VB.Net
If KeyCode = System.Windows.Forms.Keys.Escape then ' ????
Dim Form98 as Form98 = New Form98
Form98.Show
End if
Alles anzeigen
Was ist zu tun, damit die VB-eigene Funktion KeyCode unter VB.Net einsetzbar wird, bzw. welchen Ersatz gibt es unter VB.Net für KeyCode
Gruß
Jochen