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

Chapter 2: Visual Basic Programming Concepts
Last change: February 13 2016 18:48:07.
<<PreviousNext>>

The Properties Window

The Properties window (Figure 2-5) lies below the Solution Explorer window on the right side of the screen. Immediately below the title of the Properties window is an Object box that shows the object being displayed. (Forms and VB controls are collectively referred to as objects.) If you click the drop-down button on its right side, a drop-down list will display all objects on the form. You can select an object from the list by clicking the item of interest. (Note: If you do not see this window, click the View menu and select the Properties Window option. Alternatively, press F4 or click the Properties Window icon in the toolbar.)

Figure 2-5
The Properties window

In the middle of this window is the Properties box that displays the properties of the selected object. You can use this window to set the value for various properties of the object. A property is a special type of data associated with the object. The object acts, behaves, and/or appears differently, depending on the values of its various properties. There is a vertical scrollbar on the right side of the Properties window that you can use to scroll up and down in the window to view the property settings. Below the list of properties is a small window that explains the property selected in the window. If you click a different property, different explanatory text will appear in this area. Note that different types of objects have different properties. You can explore and learn about the properties of an object by clicking different properties in this window, and viewing the text in this area.
Between the Object box and the Properties box, there are five icons: Categorized, Alphabetic, Properties, Events, and Property Pages. The Categorized and Alphabetic icons determine the order in which the properties are displayed in the Properties window. When the Alphabetic icon is selected, properties are displayed in alphabetic order. If you would rather that they be displayed by categories, you can select the Categorized icon. In this case, properties will be displayed in groups by their effect on appearance, behavior, and so on of the object. The Properties and Property Pages icons determine whether the Properties window or Property pages will be displayed for the object shown in the Object box. For example, if you click the WindowsApplication1 project icon in the Solution Explorer window, the Object box will show this project. If you then click the Property Pages icon, the WindowsApplication1’s Property pages will appear. Not all objects have the Property pages. In those cases, the Property Pages icon will be disabled. Clicking on it will have no effect. If you click the Event icon, the box will display the events that this object recognizes. Section 2 discusses more about events.

Last change: February 13 2016 18:48:08.
<<PreviousNext>>