|
-
Jul 23rd, 2008, 08:36 AM
#1
Thread Starter
New Member
Listbox Refrence
Does anyone know how to reference a particular column in a list box control and then add stuff to it.
I was looking forward to something like this
Me.lstMylist.Columns("ColumnName").Add
-
Jul 23rd, 2008, 08:42 AM
#2
Re: Listbox Refrence
ListBoxes don't have columns. They contain a simple list of items. If you want columns then use a ListView or a DataGridView.
-
Jul 23rd, 2008, 08:49 AM
#3
Re: Listbox Refrence
ListBoxes CAN have columns... just not the same way as a ListView or DataGridView does. They have a MultiColumn property which can be set to true.
However it still only contains 1 single listing of data, it just listes them in multiple columns instead of a single column. Similar to the way a listview behaves in list mode instead of details mode.
So if you are actually using a listbox setup for multicolumn, then it still is just 1 single set of data. You probably want to be using one of the 2 controls John mentioned above.
-
Jul 23rd, 2008, 03:19 PM
#4
Re: Listbox Refrence
it is possible to get a multicolumn effect by using tabs in your listbox
- Coding Examples:
- Features:
- Online Games:
- Compiled Games:
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|