06-11-2012 06:29 AM
I have used Ring control as dropdown menu to select one item from roughly about 10 items. Ring control shows one item visibly at a time. So I wanted to show all 10 items in one shot and select any one, I have changed Ring control to Listbox control. In Block diagram based on some criteria I made some of the Ring Control disabled during run time in state machine cases.
Is there a way to find and replace all ring conrtol property nodes in one shot with listbox control?
06-11-2012 06:35 AM - edited 06-11-2012 06:37 AM
Not that I know about, if a property node is linked to a control and you the change the type of this control (e.g. replace a ring with a listbox) then the property nodes/invoke nodes tahtt were linked will be broken and will have to be relinked one by one.
I think you'd have less to do if you had generic property node to whch you pass the control ref, this way, changing a control type, the ref would follow and all the properties that are common to both type (previous type and new type) would not be broken, I believe.
06-13-2012 12:07 AM
Im not aware of scripting. How is that can be done? In current project I've started linking the ring with listbox. Would like to learn that scripting aspect. Let me check whether help files are available.