设有窗体的Form_MouseMove事件过程如下: Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)   If(Button

admin2020-07-22  37

问题 设有窗体的Form_MouseMove事件过程如下:
Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
  If(Button And 3)=3 Then
    Print "检查按键"
  End If
End Sub
关于上述过程,以下叙述中正确的是(  )。

选项 A、按下鼠标左键时,在窗体上显示"检查按键"
B、按下鼠标右键时,在窗体上显示"检查按键"
C、同时按下鼠标左、右键时,在窗体上显示"检查按键"
D、不论做何种操作,窗体上都不会显示

答案C

解析
转载请注明原文地址:https://kaotiyun.com/show/V5Hp777K
0

相关试题推荐
最新回复(0)