Page 1 of 1

Many toggle buttons

Posted: Wed Feb 21, 2018 4:27 am
by vizman
Hello, I want to create many toggle buttons using f.e. Geyser.Label. Buttons task is to show/hide different layout elements.
I know I need variable storing toggle state. But f.e. if I need 100 buttons, i have to declare 100 different variables? Or is there other way?

Re: Many toggle buttons

Posted: Wed Feb 21, 2018 2:46 pm
by Jor'Mox
You can make a table that stores those values via some key, that links back to the labels you are using in a unique fashion.