Maybe this is a stupid question, but is there a way to get the value of a control attribute that has been set in the uir?
I try to explain better with an example.
- I set the ON color for a led to VAL_RED in the uir
- in the code I change the ON color to VAL_GREEN
- GetCtrlAttribute() returns the current ON color (i.e. VAL_GREEN)
- how can I get the value originally set in the uir (i.e. VAL_RED)?