Setting multiple button states to "0"
Posted: Mon Sep 26, 2022 5:39 am
I'm working on a touchscreen interface which requires that all button states are set to "0" prior to each command being executed.
Is there a way (or could there be in the future release?) to change multiple button states with a single line, eg:
Button(0-4).State = 0;
Rather than:
Button(0).State = 0;
Button(1).State = 0;
Button(2).State = 0;
Button(3).State = 0;
Button(4).State = 0;
Thanks!
Is there a way (or could there be in the future release?) to change multiple button states with a single line, eg:
Button(0-4).State = 0;
Rather than:
Button(0).State = 0;
Button(1).State = 0;
Button(2).State = 0;
Button(3).State = 0;
Button(4).State = 0;
Thanks!