Multi state buttons
adys
Junior Member
Hi all
I am using multi state general buttons to represent more than 2 states. I must do it with states cause I am not controling the text - its constant text on the bitmap.
in general buttons I am switching the states using the ON[tp, button_channel] / OFF[tp, button_channel]
What is the way to do it in a multi state buttons?
I found this post - is this is the only way to do it?
http://www.amxforums.com/showthread.php?t=1224&highlight=multi+state
Thanks
Ady.
I am using multi state general buttons to represent more than 2 states. I must do it with states cause I am not controling the text - its constant text on the bitmap.
in general buttons I am switching the states using the ON[tp, button_channel] / OFF[tp, button_channel]
What is the way to do it in a multi state buttons?
I found this post - is this is the only way to do it?
http://www.amxforums.com/showthread.php?t=1224&highlight=multi+state
Thanks
Ady.
Comments
-
you can use on and off on a multistate button. It will then show the first state followed by the next, etc etc until it hits the last state.
If you want to select a specific state on a multistate button you need the ^ANI command
-
You could also turn it into a multi-state bargraph and send it a level. And it would be as simple as "SEND_LEVEL dvTP1, 1, nSTATE" where nSTATE would be the step you want it in.
I just woke up, I may be VERY wrong . . . but it sounds good at least! -
Sounds good to me and I've been up for hours!jjames wrote:
I just woke up, I may be VERY wrong . . . but it sounds good at least! -
jjames wrote:You could also turn it into a multi-state bargraph and send it a level. And it would be as simple as "SEND_LEVEL dvTP1, 1, nSTATE" where nSTATE would be the step you want it in.
I just woke up, I may be VERY wrong . . . but it sounds good at least!
That's how I do it. I simply find it far easier and more elegant to update the state with a send_level. I can't think of the last time I used a multistate button outside of a simple animation to go from ON to OFF. ANy time I want to track intermediate states, I make it a bargraph. -
thanks guys, I done some code with ^ANI but the next button I will check with LEVELS
Categories
- All Categories
- 2.5K AMX General Discussion
- 922 AMX Technical Discussion
- 514 AMX Hardware
- 502 AMX Control Products
- 3 AMX Video Distribution Products
- 9 AMX Networked AV (SVSI) Products
- AMX Workspace & Collaboration Products
- 3.4K AMX Software
- 151 AMX Resource Management Suite Software
- 386 AMX Design Tools
- 2.4K NetLinx Studio
- 135 Duet/Cafe Duet
- 248 NetLinx Modules & Duet Modules
- 57 AMX RPM Forum
- 228 MODPEDIA - The Public Repository of Modules for Everyone
- 943 AMX Specialty Forums
- 2.6K AMXForums Archive
- 2.6K AMXForums Archive Threads
- 1.5K AMX Hardware
- 432 AMX Applications and Solutions
- 249 Residential Forum
- 182 Tips and Tricks
- 146 AMX Website/Forums
