Quantcast
Channel: Library Questions - Processing 2.x and 3.x Forum
Viewing all articles
Browse latest Browse all 2896

controlP5 Toggle button

$
0
0

Hi, I have 10 buttons in a UI and it all works great, the issue I have is that I want the active button to remain highlighted

I added the .setSwitch(true) to each button which acts like a toggle but the issues that when I click another button, the first button still stay highlighted.

How can I have a selected state?

Any idea?

Thanks.

Phil


Viewing all articles
Browse latest Browse all 2896

Trending Articles