Thanks for all your help guys, I really am learning a great deal by it.
Campbell, I get what you are saying. I have 32 buttons, so I want to set up a method ColorChanger() where I will put my code, then can I just do this for each button...?
Is this possible since all my buttons have different names?
(gboard_row1_btn1.setBackground(colors[index])
Also, the only other thing I am unclear on is initializing the index. I have to initialize it to be 0. So each time the button is pressed, won't it re-initialize to 0?
Thanks!
[ July 09, 2008: Message edited by: Kevin Behr ]