窗体上放置一图片框,通过鼠标在图片框内的拖动画红色的实心圆
答案:2 悬赏:60
解决时间 2021-02-13 04:55
- 提问者网友:刪除丶後
- 2021-02-12 18:29
窗体上放置一图片框,通过鼠标在图片框内的拖动画红色的实心圆
最佳答案
- 二级知识专家网友:陪衬角色
- 2021-02-12 19:17
Y)
End If
If Button = 2 Then
Picture1.Cls
End If
End Sub
Private Sub Picture1_MouseUp(Button As Integer, Shift As Integer, X As SingleDim cx As Integer
Dim cy As Integer
Private Sub Picture1_MouseDown(Button As Integer, Y As Single)
If Button = 1 Then
r = Sqr((X - cx) ^ 2 + (Y - cy) ^ 2)
Picture1.Circle (cx, cy).FillStyle = 0
Picture1.FillColor = vbRed
Picture1, X As Single, Y As Single)
If Button = 1 Then
cx = X
cy = Y
PSet (X, Shift As Integer
End If
If Button = 2 Then
Picture1.Cls
End If
End Sub
Private Sub Picture1_MouseUp(Button As Integer, Shift As Integer, X As SingleDim cx As Integer
Dim cy As Integer
Private Sub Picture1_MouseDown(Button As Integer, Y As Single)
If Button = 1 Then
r = Sqr((X - cx) ^ 2 + (Y - cy) ^ 2)
Picture1.Circle (cx, cy).FillStyle = 0
Picture1.FillColor = vbRed
Picture1, X As Single, Y As Single)
If Button = 1 Then
cx = X
cy = Y
PSet (X, Shift As Integer
全部回答
- 1楼网友:為→妳鎖鈊
- 2021-02-12 19:32
期待看到有用的回答!
我要举报
如以上问答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯