Home All Groups Group Topic Archive Search About

Differences between vb.net listbox and listview

Author
8 Apr 2005 3:03 PM
Melson
Hi

May I know what is the differences between vb.net listbox and listview. When
should I use listbox or listview.

Regards
Melson

Author
8 Apr 2005 5:40 PM
Herfried K. Wagner [MVP]
"Melson" <wee***@hotmail.com> schrieb:
> May I know what is the differences between vb.net listbox and listview.
> When should I use listbox or listview.

The listbox control is used for displaying a list of /strings/ only, while
the listview control can show items with icons in different views (large
icon, small icon, list, details, report), show data with multiple columns
and provide formatting options for the items (font, color, ...).

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>