vb6中,让鼠标左键单击连续单击5次的循环语句怎样写?
vb6中,我想让鼠标左键单击连续单击5次的循环语句怎样写?5其实是个变量i,i的值也可能是8,那么左键就要单击8次。用哪个循环语句,怎样写,求大师帮助,谢谢!
Dim temp As Integer Private Sub Command1_Click() Dim i As Integer For i = 1 To 5 Form_Click Next Form1.Caption = temp End Sub Private Sub Form_Click() temp = temp + 1 End Sub也可以使用API