Page 87 - Computer Class 08
P. 87
Let’s Learn...
Let’s
Learn...
To add list box in the form.
1. Click on the List 2. Drag it in the form. 3. Double-click on the List
box button. box in the Form.
The Form1 (code)
window appears.
5
1
3
4. Add the following
code :
List1. AddItem
4
“Male.”
List1. AddItem
“Female.”
5. Click on the Start
button to run the
program.
The output will be displayed
as shown here.
Computer-8 87