Hello, I am trying to use image buttons on a GUI to select between 6 different waverforms. The code has worked until I tried to implement the case conditions [each button is a different case]. The error I originally got was "PImage cannot convert to boolean". After moving some stuff around the error became : Cannot convert GUI image Buttons to Boolean. Right now I was thinking of hiding some radiobuttons behind each image to do the actual selections but I am wondering if there is a simpler way.
Short version: Is there a way to use image buttons to produce boolean values?
Short version: Is there a way to use image buttons to produce boolean values?
1