Microsoft Visual Basic 2010 Step by Step eBook

(Tina Meador) #1

Chapter 1 Exploring the Visual Studio Integrated Development Environment 15


Tip The Properties window has two handy buttons at the top of the window that you can
use to further organize properties. Clicking the Alphabetical button lists all the properties
in alphabetical order and puts them in just a few categories. Clicking the Categorized
button organizes the property list into many logical categories. I recommend Categorized
view if you are new to Visual Studio.


  1. Scroll the Properties window list box until the Font property is visible.


The Properties window scrolls like a regular list box. If you are in Categorized view, Font
is in the Appearance category.


  1. Click the Font property name (in the left column).


The current font (Microsoft Sans Serif) is partially displayed in the right column, and
a button with three dots on it appears by the font name. This button is called an ellipsis
button and indicates that a dialog box is available to customize the property setting.


  1. Click the Font ellipsis button in the Properties window.


Visual Studio displays the Font dialog box, shown here, which you can use to specify
new formatting characteristics for the text in the selected label on your form. The Font
dialog box contains more than one formatting option; for each option you select,
a different property setting will be modified.


  1. Change the font style from Regular to Oblique (that is, Italic), and then click OK to
    confirm your changes.
    Visual Studio records your changes and adjusts the property settings accordingly.
    You can examine the changes by viewing your form in the Designer or by expanding
    the Font property in the Properties window.

Free download pdf