01-27-2014 04:50 AM
Is it possible to assign all the property nodes of one control to the other?
01-27-2014 05:29 AM
It is possible ... provided that the controls are the same type you can simply link all properties from one control to the other, apart from the read only properties. The image shows all string properties with the 'linkable' ones connected. Certainly not very elegant though ! Do you really need to copy all properties ?
01-27-2014 05:42 AM
one read and other write
01-27-2014 05:45 AM - edited 01-27-2014 05:50 AM
01-27-2014 05:48 AM
Gerd raised an interesting point ...
Do you need to do this as a one off copy or do you need this to happen dynamically in your program ?
01-27-2014 07:08 AM
01-27-2014 07:10 AM
Hi, Ranjeet Singh,
Do you mean the same with NeilR? I have a lot of controls...
01-27-2014 07:12 AM
Hi William,
you can use the references of those controls instead of creating a property node for each of them…
Still you don't tell the reason for copying the properties nor did you answer on that "strict typedef" suggestion!
01-27-2014 07:16 AM
Use references to however many strings you wish to copy to, combine them into an array and then pass that into a for loop.
01-27-2014 07:17 AM
Hi, GerdW,
I'd like to assign or dynamically synchronize these two controls.
Hmm.. I think copying is not the one...