Question: Using Visual Basic write a program using if statements and/or case statements to specify the foreground and background colors for the text box containing the
Using Visual Basic write a program using if statements and/or case statements to specify the foreground and background colors for the text box containing the words CIS 115. The foreground and background colors should change immediately as soon as the user changes selection in either list box. If the user selects the same text color and background color, the user should be informed immediately with a message box that the two colors must be different and the color should not change to make them the same (if the user has red selected in the text color list box and selects red in the background color, the background color should not change to red). When the form loads, Red should be selected for the text color and yellow should be selected for the background color.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
