mardi 31 mars 2015

Reset the value of a group box?

first time asking a question here so sorry if I do something wrong


So here's my problem : I want to do a Tic Tac Toe program, and I have 9 buttons and 2 progress bar (for the score)


I want that when the progress bar X or Y does a PerformStep, all the 9 buttons (in a group box) resets to its initial value (Enable = true and Text = " ", because I disable it after the user clicked on it and the text changes for X or O depending of the player turn)


Is there a command that I can write for every buttons resets or I must do that one by one ?


Thanks you !


Aucun commentaire:

Enregistrer un commentaire