In this exercise, you create an application designed to teach the Spanish words for red, blue, and green. The Spanish words are rojo, azul, and verde. Create a Visual Basic Windows application. Use...


In this exercise, you create an application designed to teach the Spanish words for red, blue, and green. The Spanish words are rojo, azul, and verde. Create a Visual Basic Windows application. Use the following names for the solution, project, and form fi le, respectively: Spanish Colors Solution, Spanish Colors Project, and Main Form.vb. Save the application in the VB2010\Chap04 folder. Create the interface shown in Figure 4-63. The interface contains three text boxes, five buttons, and one label. After entering the Spanish word corresponding to a button’s color, the user should click the button to verify the entry. If the Spanish word is correct, the button’s Click event procedure should change the color of the text box to match the button’s color. (Hint: Assign the button’s BackColor property to the text box’s BackColor property.) Otherwise, the Click event procedure should display the appropriate Spanish word in a message box. The Clear button should change each text box’s background color to white, using the Visual Basic constant Color.White; it also should clear the contents of each text box. Save the solution and then start and test the application. Close the Code Editor window and then close the solution.

Nov 22, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here