 |
 |
|
|
|
|
|
Input Boxes
This program is going to use input boxes to allow the user to enter their name and age. It will do a simple calculation and print the results to a label.
We're also going to consider how to make our program more user friendly for those people who would rather use the keyboard than a mouse.
The form looks like this:
- build the form according to the following specification:
|
|
Form |
Name
Caption
Height
Left
Top
Width |
frmAge
Age
4000
2100
1200
6800
|
|
Command Button |
Name
Caption
Height
Left
Top
Width |
cmdExit
E&xit
495
4680
2400
1215
|
|
Command Button |
Name
Caption
Height
Left
Top
Width |
cmdDetails
Enter &Details
495
840
840
1935
|
|
Command Button |
Name
Caption
Height
Left
Top
Width |
cmdResults
Print &Results
495
3960
840
1935
|
|
Label |
Name
Border Style
Caption
Height
Left
Top
Width |
cmdClear
Fixed Single
none
1095
840
1800
3135
|
|
Continued...
|
 |
© ePublish Scotland 1999
|