1.11M Members

Issue with textbox

 
0
 

In my program I have a hint button for a puzzle that randomly selects a textbox, populates it with a number, and changes its background color.

The issue is that the hint button works correctly for the first 2 hits, but after that the previous textboxes that were colored will go back to the default color and some other textbox then the randomly selected one will change color.

 
0
 

We won't be able to help you without seeing the relevant code.

 
0
 

Are you resetting your values?
Do you have the code that chooses the textbox and content and color in a function?

You
This article has been dead for over six months: Start a new discussion instead
Post:
Start New Discussion
Tags Related to this Article