编写如下代码: Dim Flag As Boolean Private Sub Form MouseDown (Button As Integer, Shift As Integer, X As Single, Y As Single) Flag = T

admin2009-07-23  28

问题 编写如下代码:
Dim Flag As Boolean
Private Sub Form MouseDown  (Button As Integer,
Shift As Integer, X As Single, Y As Single)
Flag = True
End Sub
Private Sub Form MouseMove (Button As Integer,
Shift As Integer, X As Single, Y As Single)
Flag = False
End Sub
Private Sub Form_ MouseUp (Button As Integer,
Shift As Integer, X As Single, Y As Single)
If Flag = False Then
Print "DDDD"
End If
End Sub
程序运行后,如果想在窗体上输出DDDD,则应执行的操作为______。

选项

答案按下鼠标左键或右键同时松开

解析
转载请注明原文地址:https://jikaoti.com/ti/MPq0FFFM
0

随机试题
最新回复(0)