PDA

View Full Version : Different Actions based on button state.



danward79
December 5th, 2005, 02:00 PM
Hi Ben,

Is it possible to assign a different action based on the state of a button, be it lua or otherwise?

I mean from within the designer, I know if is possible from the ccf lua file. :)

danward79
December 6th, 2005, 10:05 AM
So Ben....

Ben S
December 6th, 2005, 12:25 PM
Not in any specific way. You could do this by having the action be a lua action , or by having "state" be two buttons, only one of which is visible at a time.

Nothing built-in yet to fire different actions based on state, though.

danward79
December 6th, 2005, 12:47 PM
Thanks Ben,

I take it there are plans then?

Ben S
December 7th, 2005, 07:04 AM
Potentially. We have some ideas (specifically related to IR, right now). What are your thoughts?

danward79
December 7th, 2005, 07:58 AM
I would just like to see along side the state box an action box.

Thus you set you state variable, your value then chose the action for that value