I have 16 toggle buttons which are used as input state indicators and I need to update the color and text on the buttons as inputs change. I am using 16 IF - ELSE statements but feel there must be a more elegant way of doing this with a FOR loop using an index. I already have tags (0 to 15) assigned to buttons but how can I access the buttons' properties in a FOR loop. I understand how to use SENDER when a button is clicked.
Hamo
Hamo