Multi-state buttons/ bargraphs.
ccoburn
Posts: 11
Any good advice on making color changing buttons?
One idea I had was to make a multistate general button with 16 states, one for each color I want to display, but I don't know a way to display discreet States. The button goes From 1-16 non-stop. Is there a send-command to display a mid state?
Another Idea is to make a custom multi-state "bargraph" and drive it by doing a send. level. But that's a workaround I'd like to avoid.
I will keep sifting through software history for the time being, maybe I'll find the answer.
I also suspect I'll be diving into the Chameleon Colors to make my odd shaped buttonsbe able to change colors..
Another thought is to manipulate the color pallette, but I don't think that is currently possible either. Maybe I can just do a color change with ^BMF...%CF
I still think I should be able to find a "display state" command...
-Charlie
One idea I had was to make a multistate general button with 16 states, one for each color I want to display, but I don't know a way to display discreet States. The button goes From 1-16 non-stop. Is there a send-command to display a mid state?
Another Idea is to make a custom multi-state "bargraph" and drive it by doing a send. level. But that's a workaround I'd like to avoid.
I will keep sifting through software history for the time being, maybe I'll find the answer.
I also suspect I'll be diving into the Chameleon Colors to make my odd shaped buttonsbe able to change colors..
Another thought is to manipulate the color pallette, but I don't think that is currently possible either. Maybe I can just do a color change with ^BMF...%CF
I still think I should be able to find a "display state" command...
-Charlie
0
Comments
If you don?t the level approach then you can use the ^ANI SEND_COMMAND to send a multi-state button to a particular state. Attached is a sample TP4 file that when dropped into Panel Preview will demonstrate the command by using the loopback port.
HTH
The ^ANI command works just as well.
Thanks Joe, that's exactly what I was looking for.
I was looking for a "state" command and had forgotten about the animation commands.
Someone once told that animations had to start with state 1. I guess they were very wrong...
-Charlie
Anyone tried this?
Thanks,
Paul