D Saunders
New member
- Joined
- Nov 27, 2005
- Messages
- 4
- Programming Experience
- Beginner
1. I need a horizontal scroll bar that controls the intensity of the colour red displayed in a label. That is the background colour of the label is controlled by the position of the slider on the horizontal scroll bar.
Add another label. Display in the value property of the horizontal scroll bar in the second label when the user moves the slider.
I need the codes for this question please
2.a. Write at program that asks the user to enter a positive number and have the program report the entry of a negative number. Attach the program to a form click event. Tip: "if"
b. write a program that asks the user to enter their age. If they are old enough to vote the program reports back their age and asks them to collect their polling card, however, if they are not old enough to vote the program again reports back their age but this time tells them that they are too young to vote. Attach the program to a form click event.
c. amend 7b. So that if the user enters their age as 17 they are told that they can vote next year. Tip: "else if"
I dont have a clue how to do question 2.
please help
Add another label. Display in the value property of the horizontal scroll bar in the second label when the user moves the slider.
I need the codes for this question please
2.a. Write at program that asks the user to enter a positive number and have the program report the entry of a negative number. Attach the program to a form click event. Tip: "if"
b. write a program that asks the user to enter their age. If they are old enough to vote the program reports back their age and asks them to collect their polling card, however, if they are not old enough to vote the program again reports back their age but this time tells them that they are too young to vote. Attach the program to a form click event.
c. amend 7b. So that if the user enters their age as 17 they are told that they can vote next year. Tip: "else if"
I dont have a clue how to do question 2.
please help