haroldjclements Posted January 15, 2005 Posted January 15, 2005 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: Harold Clements 26 Right Handed James Smith 31 Right Handed Tom Cooper 19 Left Handed Thanks in advance, Harold Clements Quote
RobEmDee Posted January 15, 2005 Posted January 15, 2005 There is a MultiColumn property of the ListBox......I have never tried it out but you may want to start there. Have you taken a look at the ListView? Quote
kanak Posted January 16, 2005 Posted January 16, 2005 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 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.