Chapter 2 Writing Your First Program 45
Setting the Properties
As you discovered in Chapter 1, you can change properties by selecting objects on the form
and changing their settings in the Properties window. You’ll start by changing the property
settings for the two buttons.
Set the button properties
- Click the first button (Button1) on the form.
The button is selected and is surrounded by resize handles.
- Click the Properties window title bar.
Tip If the Properties window isn’t visible, click the Properties Window command on the
View menu, or press F4.
- At the top of the Properties window, click the Categorized button.
For information about categorized properties, see the section entitled “The Properties
Window” in Chapter 1.
- Resize the Properties window (if necessary) so that there is plenty of room to see the
property names and their current settings.
Once you get used to setting properties, you will probably use the Properties window
without enlarging it, but making it bigger helps when you first try to use it. The
Properties window in the following screen shot is a good size for setting properties: