第1个回答 2008-11-12
Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Command1.Enabled = 0
Command1.Left = X - Command1.Width / 2
Command1.Top = Y - Command1.Height / 2
End Sub本回答被提问者采纳
第2个回答 2008-11-12
Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
With Command1
.Left = X
.Top = Y
End With
End Sub
第3个回答 2008-11-12
Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Command1.Left = X
Command1.Top = Y
End Sub
第4个回答 2008-11-13
on Mouse movie? 好像是这个~!