CodeItBetter Programming Another VB Programming Blog

How to add item to a multi-column Listbox (in two ways)

Posted on January 5, 2009
1
2
3
4
5
6
7
8
9
10
'Controls - How to add item to a multi-column Listbox (in two ways)
'Using AddItem method:
List1.AddItem "Column 1 Text" & vbTab & "Column 2 Text" & vbTab & "Column 3 Text" & vbTab _
    & "Column 4 Text"
'Here List1 has 4 columns

'Using Array:
List1.List = MyArray()
'We can load a listbox directly from an array! (single dim)
'Much faster than AddItem method.
Filed under: Controls Leave a comment
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment


 

No trackbacks yet.