i'd like to set a toggle button to enable/ unable a set of buttons. So if the toggle is "off" all the chosen buttons don't trigger their commands.
If the toggle is "on" the first button pressed trigger his command and directly the toggle goes to off and no more of the chosen buttons will trigger anithing until the toggle is again "on".
in this post i've found a way to do the thing ...
i already have a toggle who enable/disable my buttons but i don't find how to, when any of the chosen buttons is pressed, set the toggle to off and disabling all the chosen buttons.
Other thing, is it possible to disable the set of buttons (and set the toggle to "off") when i come back from another page?