
Ross Sheppard High School
Computer Programming 20
Student Learning Guide
The Array Program
| When you have finished this project, you will be able to: | |
| create an Array | |
| add items to an Array | |
| remove items from an Array | |
| use a ComboBox | |
|
describe the following terms:
|

The Array Program
The user enters one number into each of the text boxes and then selects an arithmetic function from the combo box.
When the Equals button is pressed, the correct answer is displayed in the txtAnswer TextBox. If the user selects
exit, a confirmation dialog box will appear providing a choice of quitting or not.
| Object | Property | Setting |
| Form | Name | frmArray |
| Caption | The Array Program | |
| TextBox | Name | txtNum1 |
| Font | MS Sans Serif Bold 18 | |
| Alignment | Center | |
| Text | Make it blank | |
| Multiline | True | |
| ComboBox | Name | cboSign |
| Font | MS Sans Serif Bold 18 | |
| TextBox | Name | txtNum2 |
| Font | MS Sans Serif Bold 18 | |
| Alignment | Center | |
| Text | Make it blank | |
| Multiline | True | |
| CommandButton | Name | btnEquals |
| Caption | Equals | |
| Font | MS Sans Serif Bold 18 | |
| TextBox | Name | txtAnswer |
| Font | MS Sans Serif Bold 18 | |
| Alignment | Center | |
| Text | Make it blank | |
| Multiline | True | |
| CommandButton | Name | btnExit |
| Caption | Exit | |
| Font | MS Sans Serif Bold 18 |
















