Visual Basic 2008 Programming: Business Applications with a Design Perspective
Chapter 1 Chapter 2 Chapter 3 Chapter 4 Chapter 5 Chapter 6 Chapter 7 Chapter 8 Chapter 9
Chapter 10 Chapter 11 Chapter 12 Chapter 13 Chapter 14 Appendix A Appendix B Appendix C Home
Last change: February 13 2016 18:48:19.

 Chapter in PDF

Table of Contents

Chapter 3: User Interface Design: Visual Basic Controls and Events
Last change: February 13 2016 18:47:26.

Chapter 3
User Interface Design: Visual Basic Controls and Events

In Chapter 2, “Introduction to Visual Basic Programming,”, you explored four Visual Basic (VB) objects—the form and three controls—and some of their capabilities. There are, of course, more VB objects and controls. Many of the controls have features that can make your design of a data-entry screen more powerful and user-friendly. This chapter presents various data-entry/user-interface situations. For each situation, you will learn the appropriate VB control(s) to use.
As explained in Chapter 2, each VB control has its own events. These events are raised (triggered) when some situation occurs in the system or when the user takes an action. You can place code in the procedures that are associated with these events so that the computer behaves exactly as you would like; therefore, these events are where you give your program life and personality. You will explore a few of the events most commonly used in data-entry operations. All the code you place in your project will directly or indirectly relate to one or more of these events, so it is important that you have a thorough understanding of them.
After completing this chapter, you should be able to:

Last change: February 13 2016 18:47:27.