I would recommend dropping the selector switch and all the widgets it uses altogether. Its existence is very odd and it really can only be used to make 2 or 3 state switches and it's far from the best way to do so in VT. As well, all of the widgets related do not conform to high performance and modern flat design principles.
If you have two to four states in one or two bits, use an IO tag in Digital mode. If you have more than four states in one IO point, use the Discrete mode. Otherwise, build a custom type for the purpose.
Then build your own customizable buttons with the Set Value widget and rectangles and opacity scripts as required for those objects.
I would recommend dropping the selector switch and all the widgets it uses altogether. Its existence is very odd and it really can only be used to make 2 or 3 state switches and it's far from the best way to do so in VT. As well, all of the widgets related do not conform to high performance and modern flat design principles.
If you have two to four states in one or two bits, use an IO tag in Digital mode. If you have more than four states in one IO point, use the Discrete mode. Otherwise, build a custom type for the purpose.
Then build your own customizable buttons with the Set Value widget and rectangles and opacity scripts as required for those objects.
edited Feb 8 '20 at 6:09 am