
Ross Sheppard High School
Computer Programming 20
Student Learning Guide
The Show Font Program
| When you have finished this project, you will be able to: | |
| use font properties | |
| apply font properties to a TextBox |

The Show Font Program
The user can select a font from a menu and from checkboxes and the font will be displayed in txtTest TextBox.
| Object | Property | Setting |
| Form | Name | frmShowFont |
| Caption | The ShowFont Program | |
| Icon | Font02.ico Copy this icon from the Handout folder to your project folder |
|
| TextBox | Name | txtTest |
| MultiLine | True | |
| ScrollBars | Both | |
| Text | Make it blank | |
| CheckBox | Name | chkBold |
| Caption | Bold | |
| Font | Make it a bold font | |
| CheckBox | Name | chkItalic |
| Caption | Italic | |
| Font | Make it an italic font | |
| CheckBox | Name | chkStrike |
| Caption | Strike | |
| Font | Make it a strikeout font |
Menu Table
Caption
Name
Property
&Fonts
mnuFonts
Menu Bar
&Courier
mnuCourier
Sub-menu
&MS Sans Serif
mnuMSSansSerif
Sub-menu
&Size
mnuSize
Menu Bar
1&0 Points
mnu10Points
Sub-menu
1&2 Points
mnu12Points
Sub-menu

