按键是键盘上的和鼠标上的按键,不是组合键,按下不同的按键有不同的结果。
Private Sub Form_KeyPress(KeyAscii As Integer) 中判断KeyAscii 执行鼠标用Form_MouseDown事件,Form_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single),其中Button 是左右按键。