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 4: Data, Operations, and Built-In Functions
Last change: February 13 2016 18:47:36.

Form (Class)-Level Declaration

Variables and constants declared with a Dim statement in the general declaration area are the class level variables and constants. They are recognized by and accessible to all procedures in the class. In addition, they exist as long as the class does; that is, their values are preserved until the form is destroyed. In a single form application, the form is destroyed when the project ends. The life of a form is discussed in more detail in Chapter 11, “Menus and Multiple-Form Applications.”

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