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

3.9   The Environ-Pure Project: An Application Example

You have been introduced to many VB controls and several of their related events. You may be wondering how all these pieces of puzzles can be put together to perform a task. For this purpose, consider an example that pertains to an order-entry screen for a manufacturer of water filters. Before you proceed further into any details, please keep in mind that the main purpose of the example is to show which controls should be used in a given situation and in which event a particular segment of code should be placed. So that your attention can be focused on this key interest, it is necessary to simplify the problem. Please ignore some potential ramifications as you proceed. In addition, please work along as you read. You will have a much better understanding of the subject if you actually work on the problem while reading.

Last change: February 13 2016 18:47:26.
  1. Setting the Initial State at Runtime: The Form Load Event
  2. The Click Event: Buttons and List Boxes
  3. The CheckedChanged Event: Radio Buttons and Check Boxes
  4. SelectedIndexChanged and DoubleClick Events: List Box and Combo Box
  5. Viewing the Key Entered: The KeyPress Event
  6. Before the User Does Anything in a Control: The Enter Event
  7. As the User Leaves the Field: The Leave Event
  8. Summary of Events
  • 3.9 The Environ-Pure Project: An Application Example
    1. The Environ-Pure Project
    2. The Visual Interface
    3. Setting the Tab Order
    4. Coding the Event Procedures
    5. Testing the Project
    6. <<PreviousNext>>