-
Multi column List Boxes
I just realized that an earlier post was miss titled. My apologies to one
and all. Here is the question again with the correct title.
How does a person load data in the standard list box that comes with Visual
Basic that has more than one column specified. My attempts so far, while
amusing to look at, have no proven productive and finishing the project.
Larry
-
Re: Multi column List Boxes
Larry,
Do you want a tab delimited box (columns that relate to each other per row)
or a multi-column list (newspaper?).
--
Kathleen
(MS-MVP)
Reply in the newsgroup so everyone can benefit
--
"Larry Hunter" <Hunterlmc@gateway.net> wrote in message
news:39d8c1e5@news.devx.com...
>
>
>
> I just realized that an earlier post was miss titled. My apologies to one
> and all. Here is the question again with the correct title.
>
> How does a person load data in the standard list box that comes with
Visual
> Basic that has more than one column specified. My attempts so far, while
> amusing to look at, have no proven productive and finishing the project.
>
> Larry
>
>
-
Re: Multi column List Boxes
Kathleen -
Interesting point. The data that will be loaded into the list is composed
of:
Company Name
City
State abbreviation
Since the data (with the exception of the State abbreviation) is of variable
length I think that I will need to have fixed column widths like in a newpaper.
Larry
"Kathleen Dollard-Joeris" <kjoeris@noemailplease.com> wrote:
>Larry,
>
>Do you want a tab delimited box (columns that relate to each other per row)
>or a multi-column list (newspaper?).
>
>--
>Kathleen
>(MS-MVP)
>Reply in the newsgroup so everyone can benefit
>--
>"Larry Hunter" <Hunterlmc@gateway.net> wrote in message
>news:39d8c1e5@news.devx.com...
>>
>>
>>
>> I just realized that an earlier post was miss titled. My apologies to
one
>> and all. Here is the question again with the correct title.
>>
>> How does a person load data in the standard list box that comes with
>Visual
>> Basic that has more than one column specified. My attempts so far, while
>> amusing to look at, have no proven productive and finishing the project.
>>
>> Larry
>>
>>
>
>
-
Re: Multi column List Boxes
Larry,
Actually, my point was not clear, this sounds like a tab delimited list,
with the company name, city and state abbreviation all lined up in a row.
You can use tabs in a list box. Try it. You have to delve into the API a tad
to position the tab stops correctly.
I rarely do this. I prefer to pretty up a grid or listview for the purpose.
Partly because I can then standardize my code, and partly because there is
more functionality (virtual data, scrolltips, data bound, etc).
--
Kathleen
(MS-MVP)
Reply in the newsgroup so everyone can benefit
--
-
Re: Multi column List Boxes
I am SUCH a dolt! I had not even considered using either a grid or listview
control. Many thanks for the suggestion.
Larry
-
Re: Multi column List Boxes
I finished yesterday with coding the listview control and wanted to say that
it worked like a charm AND with less code then the original developer used.
Larry
Kathleen Dollard-Joeris <kjoeris@noemailplease.com> wrote in message
news:39dc692b@news.devx.com...
> Larry,
>
> Actually, my point was not clear, this sounds like a tab delimited list,
> with the company name, city and state abbreviation all lined up in a row.
>
> You can use tabs in a list box. Try it. You have to delve into the API a
tad
> to position the tab stops correctly.
>
> I rarely do this. I prefer to pretty up a grid or listview for the
purpose.
> Partly because I can then standardize my code, and partly because there is
> more functionality (virtual data, scrolltips, data bound, etc).
>
> --
> Kathleen
> (MS-MVP)
> Reply in the newsgroup so everyone can benefit
> --
>
>
>
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
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|