Picturebox用PSet方法画曲线,鼠标移动快,线条就不连贯了,怎么解决?
hhfh 2007-08-04 02:45:36
mask是Picturebox控件
Private Sub mask_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
md = True
End Sub
Private Sub mask_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
'鼠标移动快,线条就不连贯了,怎么解决?
If md Then
mask.PSet (X, Y)
End If
End Sub
Private Sub mask_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
md = False
End Sub