📄 form1.frm
字号:
VERSION 5.00
Begin VB.Form Form1
Caption = "检测键盘对应的VK值 (C)1998-2007 卢石昌(Stone) All rights reserved http://stonelsc.spaces.live.com"
ClientHeight = 1455
ClientLeft = 60
ClientTop = 450
ClientWidth = 3450
Icon = "Form1.frx":0000
LinkTopic = "Form1"
ScaleHeight = 1455
ScaleWidth = 3450
StartUpPosition = 3 'Windows Default
Begin VB.Label Label5
Alignment = 2 'Center
Caption = "检测键盘对应的 VK 值(十六进制)"
Height = 372
Left = 120
TabIndex = 4
Top = 120
Width = 3252
End
Begin VB.Label Label4
Alignment = 1 'Right Justify
Caption = "对应的 VK 值是:"
Height = 372
Left = 120
TabIndex = 3
Top = 1080
Width = 1572
End
Begin VB.Label Label3
Alignment = 1 'Right Justify
Caption = "键盘 ASCII 码是:"
Height = 372
Left = 120
TabIndex = 2
Top = 600
Width = 1572
End
Begin VB.Label Label2
Caption = "Label2"
Height = 372
Left = 1920
TabIndex = 1
Top = 1080
Width = 732
End
Begin VB.Label Label1
Caption = "Label1"
Height = 252
Left = 1920
TabIndex = 0
Top = 600
Width = 732
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)
Label1.Caption = KeyCode
Label2.Caption = Hex(KeyCode)
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -