vb6 listbox list timer

Posted by user3138338 on Stack Overflow See other posts from Stack Overflow or by user3138338
Published on 2014-06-07T09:07:12Z Indexed on 2014/06/07 9:24 UTC
Read the original article Hit count: 126

Filed under:
|

i want to iterate listbox list item with Timer1 .

for example, if listbox list item have 'A','B','C'

then i want to make run 'A' then run timer1

and after finish 'B' then run timer1 and so on

maybe this is easy for someone but it not easy for me because Timer1 is continue looping

and it make me some confused.

sorry my bad english and anyone could enlight me i really much appreate!

Private Sub Command1_Click()   
    For xx = 0 To List3.listcount - 1
      Timer1.Enabled = True
    Next xx
End Sub

Public Sub Timer1_Timer()
some code....
.
.
End Sub

© Stack Overflow or respective owner

Related posts about vb6

Related posts about listbox