Getting a Column Effect In A listBox?

haroldjclements

Freshman
Joined
Jun 13, 2004
Messages
46
Is there a way of getting a column effect in a listBox? I am dragging three lots of data from a database and want to format in row within the listBox.

Example:
Code:
Harold Clements	26	Right Handed
James Smith	31	Right Handed
Tom Cooper	19	Left Handed
Thanks in advance,
Harold Clements
 
try this out

dim str as string
str={0,10}{1,4}{2,8}

where 0,1,2 are the index and 10,4,8 are the length

use
listbox1.items.add(string.format(str,"name","age","salary")
this will give 3 columns in your lisstbox ... u can have more if u want

but instead u can use listview ,.... thats much better and looks much neat

try listview ... thats the best option u can get
 
Back
Top