Hi NJDude, I want to hide and show buttons. Click on a button to start the sequence of colored buttons like a disco light. It's a total of 5 colored buttons on the same place x, y coordinates.
Thank you for the code. Although it is exactly what I described, it is not what I had in mind (my bad).
I have 5 buttons and only 1 is visible. I want only one visible at all times. When I press that visible button, I want to have another button turn visible (and the one thats visible to turn unvisible), and I want the one that is visible to change every timer interval
Set up a timer that makes all the buttons invisible, and then makes one randomly visible. Make sure that you reset the timer interval in the tick event.
Set up the button click events to call the timer tick event.
Thank you for the code. Although it is exactly what I described, it is not what I had in mind (my bad).
I have 5 buttons and only 1 is visible. I want only one visible at all times. When I press that visible button, I want to have another button turn visible (and the one thats visible to turn unvisible), and I want the one that is visible to change every timer interval
I believe I have to setup a list and use the tick to 'choose' which button from the list I will show (this is how I can control the sequence as I dont want it to be random). Not sure how to realise this in code though... :sign0085: