O'Reilly logo

Sams Teach Yourself Visual Basic® 6 in 24 Hours by Sanjaya Hettihewa, Greg Perry

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required