In a game I am making I have a Combo box called cboColor which contains two items; "White" and "Black" and the .Text property is set to "White" which is the default color
If the player is going to play the game without an opponent then the player must be "White". Now if player changes "White" to "Black" (which he shouldn't but just in case he does) and then clicks on "Play Game" the code sees that he is the only player and makes the .Text property to "White". I can see where "Black" changes to "White" in the .Text property of the combo box as I single step through the code but as soon as the code exits the Sub (which returns to the system; ie, no other calls are made) the .Text property goes blank.
If the player is going to play the game without an opponent then the player must be "White". Now if player changes "White" to "Black" (which he shouldn't but just in case he does) and then clicks on "Play Game" the code sees that he is the only player and makes the .Text property to "White". I can see where "Black" changes to "White" in the .Text property of the combo box as I single step through the code but as soon as the code exits the Sub (which returns to the system; ie, no other calls are made) the .Text property goes blank.