Question: 9. Open the VB2015Chap08State SolutionState Solution (State Solution.sln) file. The interface provides an editable combo box for entering the name of a state. Code the

9. Open the VB2015\Chap08\State Solution\State Solution (State Solution.sln) file. The interface provides an editable combo box for entering the name of a state. Code the btnAdd_Click procedure so that it removes any leading and/or trailing spaces from the state name. If the name contains at least one character, add the name to the combo box.

The procedure should also send the focus to the combo box. Test the application by entering spaces before and after the following names: South Carolina and Alaska. Also enter only spaces in the text portion of the combo box.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock