[請益] 鍵盤的按鍵
請問一下為什麼當我案上鍵盤的某個鍵卻不會執行呢?
例如:
Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
cursor_x = X
cursor_y = Y
End Sub
If cursor_x > 2880 And cursor_x < 3255 And cursor_y > 240 And cursor_y < 615 Then
Command1.Enabled = True
End If
If Command1.Enabled = True Then
If KeyCode = 13 Then
Command1.Value = True
End If
End If
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.135.139.199
推
210.58.156.43 05/26, , 1F
210.58.156.43 05/26, 1F
推
210.58.156.43 05/26, , 2F
210.58.156.43 05/26, 2F
Visual_Basic 近期熱門文章
PTT數位生活區 即時熱門文章