ListView is for elaborated list box controls that support multiple means of viewing data lists. These views include text view (normal list boxes), large and small rearrangable icons, and detail (or report) view.
ListView supports non-hierarchical views. For hierarchical views, see the TreeView class.
In Windows, this class corresponds to the ListView control.
This class is supported only by the Classic Agent. This class offers slightly different functions and properties from those in the class ListViewEx, which is available for use with the Open Agent.
In a listview Detail view, each item can have one or more fields displayed in columns, and the view can typically be sorted by any column. Details view differs from a multi-column list box or table, in which individual cells can be selected.
Items in a listview can be identified by the following traits:
The following examples show how you can identify items within a listview:
This specification... | Identifies this item... |
---|---|
"x" | An item "x" in the first column |
"x;y;z" | An item "x" in the first column, "y" in the second column, and "z" in the third column |
"*;*; z" | An item "z" in the third column |
"x ; y" | An item "x" in the first column, and an item "y" in the second column |
"x ;*; z " | An item "x" in the first column, and "z" in the third column |