全部题库 / VB / 试题详情
单选题 VB
2013-08-15

以下说法中正确的是(  )。

A.MouseUp事件是鼠标向上移动时触发的事件
B.MouseUp事件过程中的X,Y参数用于修改鼠标位置
C.在MouseUp事件过程中可以判断用户是否使用了组合键
D.在MouseUp事件过程中不能判断鼠标的位置

参考答案

C

答案解析

C。【解析]MouseUp是鼠标弹起的=个事件,其中的X,Y参数不能够修改鼠标的位置,只能判断鼠标的位置,在MouseUp事件中可判断用户是否使用了组合键,所以答案选择C。

你可能感兴趣的试题

A.Private Sub Form_MouseDown(Button As Integer,_Shift As Integer,X As Single,
    Y As Single)
      If Button=1 And Blltton=2Then
        PopupMenu a1
      End If
    End Sub
B.Private Stlb Form_MouseDown(Button As Integer,_Shift As Integer,X As Single,
    Y As Single)
      PopupMenu a1
    End Sub
C.Private Sub Form—MouseDown(Button As Integer,_Shift As Integer,X As Single,
    Y As Single)
      If Button=1 Then
        PopupMenu a1
      End If
    End Sub
D.Private Sub Form MouseDown(Button As Integer,_Shift As Integer,X As Single,
Y As Single)
  If Buttcn=2 Then
        PopupMenu a1
      End If
End Sub
A.在多窗体应用程序中,可以有多个当前窗体
B.多窗体应用程序的启动窗体可以在设计时设定
C.多窗体应用程序中每个窗体作为一个磁盘文件保存
D.多窗体应用程序可以编译生成一个EXE文件