Chapter 10. List Boxes and Data Lists

Often the user will need to select from or add to a list of items such as pay code abbreviations or division names. Visual Basic supports two controls, List Box and Combo Box, that you use to display lists from which the user can select items.

After you master the List controls, two additional VB programming topics are simple: data arrays and control arrays. You can combine the List controls and the arrays to work in harmony when processing lists of information, as you'll see in this lesson.

The highlights of this hour include

  • How to add list boxes

  • What differences exist between list boxes and combo boxes

  • How to initialize lists

  • When to use drop-down list boxes

  • How to declare and use arrays

  • Why control arrays streamline ...

Get Sams Teach Yourself Visual Basic® 6 in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.