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.

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

Note: In the preceding maneuvers, the line is placed in the clipboard <strong>and</strong> can be<br />

retrieved by pressing Ctrl+V. To delete the line without placing it in the clipboard,<br />

mark it as a block <strong>and</strong> press Del.<br />

C. Move a line within the Code window.<br />

1. Move the cursor to the line <strong>and</strong> press Ctrl+Y.<br />

2. Move the cursor to the target location.<br />

3. Press Ctrl+V.<br />

D. Use the clipboard to move or duplicate statements.<br />

1. Mark the statements as a block.<br />

2. Press Ctrl+X to delete the block <strong>and</strong> place it into the clipboard. Or press Ctrl+C<br />

to place a copy of the block into the clipboard.<br />

3. Move the cursor to the location where you desire to place the block.<br />

4. Press Ctrl+V to place a copy of the text from the clipboard at the cursor.<br />

E. Search for specific text in the program.<br />

1. Press Alt/E/F or Ctrl+F.<br />

2. Type sought-after text into the rectangle.<br />

3. Select desired options if different from the defaults.<br />

4. Press the Enter key.<br />

5. To repeat the search, press Find Next or press Cancel <strong>and</strong> then F3.<br />

F. Find <strong>and</strong> Replace.<br />

1. Press Alt/E/E or Ctrl+H.<br />

2. Type sought-after text into first rectangle.<br />

3. Press Tab.<br />

4. Type replacement text into second rectangle.<br />

5. Select desired options if different from the defaults.<br />

6. Press the Enter key.<br />

7. Press Replace to make the change or press Replace All to make all such<br />

changes.<br />

G. Cancel a change.<br />

1. Press Alt/E/U or Ctrl+Z to undo the last change made to a line.<br />

HOW TO: GET HELP<br />

(Available only with Learning, Professional, <strong>and</strong> Enterprise Editions.)<br />

A. Obtain information about a <strong>Visual</strong> <strong>Basic</strong> topic.<br />

1. Press Alt/H/M.<br />

2. Click on the Index tab <strong>and</strong> follow the instructions.<br />

3. To display a topic, double-click on it.<br />

4. If a second list pops up, double-click on an item from it.<br />

B. View the syntax <strong>and</strong> purpose of a <strong>Visual</strong> <strong>Basic</strong> keyword.<br />

1. Type the word into a Code window.<br />

2. Place the cursor on, or just following, the keyword.

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

Saved successfully!

Ooh no, something went wrong!