must be in vb2008
Classes
program allows the user to create their own environment to work in. They will be allowed to tailor the environment to change the back colour of the form and other objects and the text colour of their text objects.
Problem Specification
Prompt the user to ask for a list of up to 6 colours that they may change their background objects to. Do not allow the user to choose black. Create a form with the necessary option buttons to make the choice.
After this ask the user if they are content with black for font colour; if they are not, allow them to select up to three alternate colours and add these as a separate set of option buttons on the form. Do not allow any of the chosen colours to be the same as those of the back colour.
If they are happy with black, do not add these extra buttons.
Check that all selections work on the newly created form.
Error conditions: Option buttons do not work correctly
Option buttons do not affect object properties
Incorrect number of option buttons
Typical Input 1: Blue
Red
Green
Yes
Typical Output 1: Three option buttons that change the back colour to blue, red and green.
All text black
Typical Input 2: Red
Yellow
Green
No
White
Blue
Typical Output 2: Three option buttons pressed that changed the back colour to red, yellow and green.
A set of two further option buttons pressed that changed the text colour to white or blue.