Reply To: button array method?

Home Forums General Programming button array method? Reply To: button array method?

#72956
goodweather
Participant
  • Topics: 45
  • Replies: 550
  • Total: 595
  • ★★★

It is the same principle without Radio group. The difference is that you need to switch the buttons on/off yourself.
You can do that very quickly with a loop 1-8 (for 8 buttons) and by choosing the button names accordingly (button1-button8).
You should do all that within a single OnChange method called by all buttons.
First switch everything to OFF then switch the one that changed to ON (you know which one it is as it is in the “mod” variable of the method).

Ctrlr