Microsoft Visual Basic 2010 Step by Step eBook

(Tina Meador) #1

116 Part I Getting Started with Microsoft Visual Basic 2010



  1. Click the Color button on the toolbar.


The Color dialog box opens, as shown here:

The Color dialog box contains elements that you can use to change the color of the
clock text in your program. The current color setting, black, is selected.


  1. Click one of the blue color boxes, and then click OK.


The Color dialog box closes, and the color of the text in the clock label changes to
blue. (That’s not visible in this book, alas, but you’ll see it on the screen .)


  1. On the Clock menu, click the Date command.


The current date is displayed in blue type. Now that the text color has been set in the
label, it remains blue until the color is changed again or the program closes.
Free download pdf