19.12.2012 Views

Computer Programming Concepts and Visual Basic David I. Schneider

Computer Programming Concepts and Visual Basic David I. Schneider

Computer Programming Concepts and Visual Basic David I. Schneider

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

416 <strong>Computer</strong> <strong>Programming</strong> <strong>Concepts</strong> <strong>and</strong> <strong>Visual</strong> <strong>Basic</strong><br />

E. Delete a control.<br />

1. Select the control to be deleted.<br />

2. Press the Del key.<br />

F. Delete a related group of controls.<br />

1. Select the picture box or frame holding the related group of controls.<br />

2. Press the Del key.<br />

G. Move a control, related group of controls, or form to a new location.<br />

1. Move the mouse onto the control, the picture box or frame containing the related<br />

group of controls, or the title bar of the form.<br />

2. Drag the object to the new location.<br />

H. Change the size of a control.<br />

1. Select the desired control.<br />

2. Move the mouse to one of the eight sizing h<strong>and</strong>les located around the edge of<br />

the control. The mouse pointer will change to a double-arrow which points in<br />

the direction that resizing can occur.<br />

3. Drag to the desired size.<br />

I. Change the size of a Project Container window.<br />

1. Move the mouse to the edge or corner of the window that is to be stretched or<br />

shrunk. The mouse pointer will change to a double-arrow which points in the<br />

direction that resizing can occur.<br />

2. Drag to the desired size.<br />

J. Use the Color palette to set foreground <strong>and</strong> background colors.<br />

1. Select the desired control or the form.<br />

2. Press Alt/V/L to activate the Color palette.<br />

3. If the Color palette obscures the object you are working with, you may wish to<br />

use the mouse to grab the Color palette by its title bar <strong>and</strong> move it so that at<br />

least some of the object shows.<br />

4. To set the foreground color, click on the square within a square at the far left in<br />

the Color palette <strong>and</strong> click on the desired color from the palette.<br />

5. To set the background color, click on the region within the outer square but outside<br />

the inner square <strong>and</strong> click on the desired color from the palette.<br />

or<br />

1. Select the desired control or the form.<br />

2. Press Alt/V/W or F4 to activate the Properties window.<br />

3. To set the foreground color, click on the down-arrow to the right of the Fore-<br />

Color settings box, click on the Palette tab, <strong>and</strong> click on the desired color.<br />

4. To set the background color, click on the down-arrow to the right of the Back-<br />

Color settings box, click on the Palette tab, <strong>and</strong> click on the desired color.<br />

HOW TO: WORK WITH THE PROPERTIES OF AN OBJECT<br />

A. Activate the Properties window.<br />

1. Press Alt/V/W.<br />

or

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!