编写如下代码: 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  30

问题 编写如下代码:
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://kaotiyun.com/show/Kw1p777K
0

最新回复(0)