Skip to Main Content
Mastering Microsoft® Visual Basic® 2008
book

Mastering Microsoft® Visual Basic® 2008

by Evangelos Petroutsos
March 2008
Beginner content levelBeginner
1152 pages
33h 45m
English
Sybex
Content preview from Mastering Microsoft® Visual Basic® 2008

Chapter 9. The TreeView and ListView Controls

In Chapter 6, "Basic Windows Controls," you learned how to use the ListBox control for displaying lists of strings and storing objects. The items of a ListBox control can be sorted, but they have no particular structure. I'm sure most of you wish that the ListBox control had more "features," such as the means to store additional information along with each item or to present hierarchical lists. A hierarchical list is a tree that reflects the structure of the list: items that belong to other items appear under their parent with the proper indentation. For instance, a list of city and state names should be structured so that each city appears under the corresponding state.

The answer to the shortcomings ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Microsoft® Visual Basic® 2008 Step by Step

Microsoft® Visual Basic® 2008 Step by Step

Michael Halvorson
Moving to Microsoft® Visual Studio® 2010

Moving to Microsoft® Visual Studio® 2010

Patrice Pelland, Pascal Pare, Ken Haines

Publisher Resources

ISBN: 9780470187425Purchase book