Cycling through a listbox or others
Use this board to post your code snippets - tips and tricks
3 posts
Page 1 of 1
Hi All, Again :]
This little snip I'm about to show you guys will Cycle through a Listbox or other tools.
What this code does is it go though the selected object.
For this example add 1 listbox and 1 button
for the listbox items put
1
2
3
4
5
inside
for the button, put this code in it
and that's how you Cycle through a listbox
This little snip I'm about to show you guys will Cycle through a Listbox or other tools.
What this code does is it go though the selected object.
For this example add 1 listbox and 1 button
for the listbox items put
1
2
3
4
5
inside
for the button, put this code in it
Code: Select all
What the above code will do is that it will show a MsgBox saying 1,2,3,4,5For i As Integer = 0 To Listbox1.Items.Count - 1
MsgBox(ListBox1.Items(i))
Next
and that's how you Cycle through a listbox
Oh this is probably useful in making ChocoScan's Folder Scan *Hint*
3 posts
Page 1 of 1
Copyright Information
Copyright © Codenstuff.com 2020 - 2023