Private Sub Text1_KeyPress(KeyAscii As Integer)
If KeyAscii = 27 Then MsgBox "ESC"
End Sub
Private Sub Form_Load()
Me.KeyPreview = True
End Sub
Private Sub Form_KeyPress(KeyAscii As Integer)
If KeyAscii = 27 Then
Historia.Show
V_Historia.Hide
End If
End Sub