I have an array of buttons (for tic tac toe/noughts and crosses, whatever you English guys call it :D ). But how do I check which was pushed? (I better not have to check all nine!!!)
Printable View
I have an array of buttons (for tic tac toe/noughts and crosses, whatever you English guys call it :D ). But how do I check which was pushed? (I better not have to check all nine!!!)
Depends are you using check boxes or normal buttons. Because with normal buttons, its impossible, i think.
they are normal buttons :( thanks chimpface
why not just have each buttons on click event set a global variable and then check the value of that variable