Jagar
asked on
Multiple Column Listbox
I have a listbox that I want to display to pieces pieces of information in. Well I mean several pieces of information, but each piece has two parts, ex.
I want to display the Building Name and the Square Footage of the building. And the list will list all of the buildings and footage for the buildings.
Shed 50
Garage 250
Deck 75
This list is of undetermined length and the buildings and numbers are of undetermined length. How can I display this type of information in a listbox, so that everything lines up correctly.
Right now I'm using two listboxes, but the scroll indepentantly of each other, which is not good.
I want to display the Building Name and the Square Footage of the building. And the list will list all of the buildings and footage for the buildings.
Shed 50
Garage 250
Deck 75
This list is of undetermined length and the buildings and numbers are of undetermined length. How can I display this type of information in a listbox, so that everything lines up correctly.
Right now I'm using two listboxes, but the scroll indepentantly of each other, which is not good.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Nevermind. Your right it is easy to use.
One of my most favorite controls.
You can even make it look (and act to the user) like a multi-column list box if you set the following properties:
FixedRows = 0
FixedCols = 0
Highlight = 1 - Always
FocusRect = 0 - None
SelectionMode = 1 - ByRow
GridLines = 0 - None
You can even make it look (and act to the user) like a multi-column list box if you set the following properties:
FixedRows = 0
FixedCols = 0
Highlight = 1 - Always
FocusRect = 0 - None
SelectionMode = 1 - ByRow
GridLines = 0 - None
ASKER
Thanks that was just what I was working on. Getting the selection of a row to look the way I want it to.
ASKER