Attachments forums

List of attachments posted on this forum.


All files on forums: 136052

Re: Indicators with ON/OFF buttons

Banzai, Sun Jul 12, 2020 3:12 am

Lumios wrote: Sun Jul 12, 2020 12:59 am Hey Banzai,

Having multiple buttons with the new code, make the previous button disappear. It seems they are all using the same button ID. What do you think? I tried to modify the "buttonid = id" but I got a compiling error. Maybe the button id can be set as an extern variable to keep them unique?

Edit: just tried to set the button id as an extern variable and that didnt work. It seems multiple buttons will conflict with each other.
First, I got the button code from Mario Jemic.

By comparing the two files, we can make a template to copy and paste.
All files in topic