Obtain object name and tag
Posted: Fri Apr 12, 2013 11:28 am
Hi,
I have some questions about scripting in Beijer Environment.
- How to obtain the property name of an object on event ? For example, when I have a button named "ButtonName", I always have "m_ButtonName" in return. How to have the real name "ButtonName" ?
- How to obtain the Tag name of an AnalogNumeric object and create event on this tag value change ?
- Finally, in the context of previous questions, how to access at a grouped object properties ?
I have a couple of grouped objects composed of an AnalogNumeric and Button. By script, I want to change the Button text according with the AnalogNumeric tag value.
Thank you for your responses.
I have some questions about scripting in Beijer Environment.
- How to obtain the property name of an object on event ? For example, when I have a button named "ButtonName", I always have "m_ButtonName" in return. How to have the real name "ButtonName" ?
- How to obtain the Tag name of an AnalogNumeric object and create event on this tag value change ?
- Finally, in the context of previous questions, how to access at a grouped object properties ?
I have a couple of grouped objects composed of an AnalogNumeric and Button. By script, I want to change the Button text according with the AnalogNumeric tag value.
Thank you for your responses.