Microsoft Visual Basic 2010 Step by Step eBook

(Tina Meador) #1

108 Part I Getting Started with Microsoft Visual Basic 2010



  1. Click the tiny smart tag in the upper-right corner of the new toolbar.


The smart tag points to the right and looks similar to the smart tag we saw in the
PictureBox control in Chapter 2, “Writing Your First Program .” When you click the
tag, a ToolStrip Tasks window opens that includes a few of the most common toolbar
tasks and properties, as shown here. You can configure the toolbar quickly with these
commands.


  1. Click Insert Standard Items.


Visual Studio adds a collection of standard toolbar buttons to the toolbar, including
New, Open, Save, Print, Cut, Copy, Paste, and Help. Your form looks similar to the
following screen shot:

It is not necessary for you to start with a full toolbar of buttons as I have done here—
I’m merely demonstrating one of the useful “automatic” features of Visual Studio 2010.
You could also create the buttons on your toolbar one by one using the ToolStrip
editing commands, as I’ll demonstrate shortly. But for many applications, clicking
Insert Standard Items is a time-saving feature. Remember, however, that although
these toolbar buttons look professional, they are not functional yet. They need event
procedures to make them work.
Free download pdf