读取listbox里面的内容
1个回答
展开全部
例子一个:
Private Sub Form_Load()
timer1.interval=3000
For i = 1 To 9
List1.AddItem i
Next
End Sub
Private Sub Timer1_Timer()
Static i As Integer
Print List1.List(i)
i = i + 1
If i > List1.ListCount - 1 Then Timer1.Enabled = False
End Sub
Private Sub Form_Load()
timer1.interval=3000
For i = 1 To 9
List1.AddItem i
Next
End Sub
Private Sub Timer1_Timer()
Static i As Integer
Print List1.List(i)
i = i + 1
If i > List1.ListCount - 1 Then Timer1.Enabled = False
End Sub
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询