执行下列程序后,鼠标单击窗体,输出结果为 。Private Sub Form_Click()Print "Click";End SubPrivate Sub Form_MouseDown(Button As Integer, Shift _As Integer, X As Single, Y As Single)Print "Donw"End SubPrivate Sub Form_MouseUp(Button As Integer, Shift _As Integer, X As Single, Y A

题目

执行下列程序后,鼠标单击窗体,输出结果为 。

Private Sub Form_Click()

Print "Click";

End Sub

Private Sub Form_MouseDown(Button As Integer, Shift _

As Integer, X As Single, Y As Single)

Print "Donw"

End Sub

Private Sub Form_MouseUp(Button As Integer, Shift _

As Integer, X As Single, Y As Single)

Print " Up"

End Sub( )。

A.DownUpClick

B.ClickDownUp

C.DownClickUp

D.UpDownClick


相似考题
参考答案和解析
正确答案:A
更多“执行下列程序后,鼠标单击窗体,输出结果为。 PrivateSubForm_Click() Print"Click"; EndSu ”相关问题
  • 第1题:

    执行下列程序后,鼠标单击窗体,输出结果为

    A.DownUpCliek

    B.CliekDownUp

    C.DownCliekUp

    D.UpDownClick


    正确答案:A
    鼠标单击时,依次引发MouseDown、MouseUp、Click事件,即Click事件包含鼠标按下和放开事件。

  • 第2题:

    执行下列程序后,鼠标单击窗体,输出结果为 Private Sub Form_Click() Print"Click": End Sub Private Sub Form_MouseDown(Button As Integer,Shift_As Integer,X As Single,Y As Single) Print"Donw" End Sub Private Sub Form_MouseUp(Button As Integer,Shift_As Integer,X As Single,Y As Single) Print"Up" End Sub

    A.DownUpClick

    B.CfickDownUp

    C.DownClickUp

    D.UpDownClick


    正确答案:A

  • 第3题:

    运行下列程序,单击窗体后显示结果为()。 Private Sub Form_Click() Dim k As Integer For k = 1 To 2 Print "3" + k; "3" & k; Spc(3); Next End Sub

    A.31 31 4 31

    B.31 31 32 32

    C.4 31 5 32

    D.32 32 5 32


    33

  • 第4题:

    执行下列程序后,鼠标单击窗体,输出结果为

    Private Sub Form_Click()

    Print "Click";

    End Sub

    Private Sub Form_mouseDown(Button As Integer,Shift

    As Integer, X As Single, Y As Single)

    Print "Donw"

    End Sub

    Private Sub Form_MouseUp(ButtonAsInteger,Shift

    As Integer, X As Single, Y As Single)

    Print "Up"

    End Sub

    A.DownUpClick

    B.ClickDownUp

    C.DownClickUp

    D.UpDownClick


    正确答案:A
    解析:鼠标单击时,依次引发MouseDown、MouseUp和Click事件,即Click事件包含鼠标按下和放开事件。

  • 第5题:

    执行下列程序后,鼠标单击窗体,输出结果为。 Private Sub Form_Click() Print“Click”; End Sub Private Sub Form_MouseDown(Button As Integer,Shift_ As Integer,X As Single,Y As Single) Print “Donw” End Sub Private Sub Form_MouseUp(Button As Integer,Shift_ As Integer,X As Single,Y As Single) Print“Up” End Sub

    A.DownUpClick

    B.ClickDownUp

    C.DownClickUp

    D.UpDownClick


    正确答案:A
    解析:鼠标单击时,依次引发MouseDown、MouseUp、Click事件,即Click事件包含鼠标按下和放开事件。