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.

2. Point to Programs.<br />

3. Point to Accessories.<br />

4. Click Character Map.<br />

5. Click on the underlined down arrow at the right end of the Font box.<br />

6. Highlight the desired font <strong>and</strong> press the Enter key or click on the desired font.<br />

D. Display an ANSI or ASCII code for a character with a code above 128.<br />

1. Proceed as described in item C above to display the font containing the character<br />

of interest.<br />

2. Click on the character of interest. Displayed at the right end of the bottom line<br />

of the font table is Alt+0xxx, where xxx is the code for the character.<br />

HOW TO: DESIGN A FORM<br />

A. Display the ToolBox.<br />

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

B. Place a new control on the form.<br />

Option I: (new control with default size <strong>and</strong> position)<br />

1. Double-click on the control’s icon in the ToolBox. The new control appears at<br />

the center of the form.<br />

2. Size <strong>and</strong> position the control as described in items G <strong>and</strong> H, which follow.<br />

Option II: (a single new control sized <strong>and</strong> positioned as it is created)<br />

1. Click on the control’s icon in the ToolBox.<br />

2. Move the mouse to the approximate position on the form desired for the upperleft<br />

corner of the control.<br />

3. Press <strong>and</strong> hold the left mouse button.<br />

4. Move the mouse to the position on the form desired for the lower-right corner<br />

of the control. A dashed box will indicate the overall shape of the new control.<br />

5. Release the left mouse button.<br />

6. The control can be resized <strong>and</strong> repositioned as described in items G <strong>and</strong> H.<br />

Option III: (create multiple instances of the same control)<br />

1. Click on the control’s icon in the ToolBox while holding down the Ctrl key.<br />

2. Repeatedly use Steps 2 to 5 of Option II to create instances of the control.<br />

3. When finished creating instances of this control, click on the arrow icon in the<br />

ToolBox.<br />

C. Create a related group of controls.<br />

1. To hold the related group of controls, place a picture box or frame control on<br />

the form.<br />

2. Use Option II or III in item B of this section to place controls in the picture box<br />

or frame.<br />

D. Select a particular control.<br />

1. Click on the control.<br />

or<br />

1. Press the Tab key until the control is selected.<br />

Appendix B 415

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

Saved successfully!

Ooh no, something went wrong!