填空题 VF
题号 #490109

下列程序的功能是:当按下鼠标左键并在窗体上移动时,在鼠标经过的位置画点,松开鼠标移动时,不执行画点操作。当单击鼠标右键时,清除窗体上的内容。请在空白处填入适当的内容,将程序补充完整。
Dim flag As Boolean
Privat Sub_Form_MouseDown(Button As Integer,Shift As Integer,X As Single,Y As Single)
Flag=Ture
If 【1】Then
Cls
End If
End Sub
Privat,e.Sub Form_MouseMove(Button As Integer,Shift As Integer,X As Single,Y As Single)
If flag Then
PSet(X,Y)
End If
End Sub
Privat,e.Sub Form_MouseUp(Button As Integer,Shift As Integer,X As Single,Y As Single)
End Sub

进入在线模考

参考答案

暂无

答案解析

【l】Button=2
【2】flag=False

你可能感兴趣的试题

找试题 · 找答案 · 找资料 在线模考