好象关于变量声明
Public a, b As Single
Public X, Y As Integer
'
Private Sub picture_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
a = Round(Str(X) / 532, 0)
b = Round(Str(Y) / 532, 0)
picture.Circle (b, a), 450
End Sub
'想实现在一个棋盘上点击落子
'pictuer就是棋盘了,想通过计算得到落子位置,然后画圆,但是圆画在左上角,好象a,b等于零啊,为什么呢?谢谢了