11-06-2008 06:29 AM
I have a cluster (typdef'd) with controls. Two of the controls is rings. I place that cluster in a array. I then fill the array of clusters up with data. Can I get the ref to the rings in each cluster? I must load them, individually, with strings[].
Solved! Go to Solution.
11-06-2008 06:38 AM
Hi Haddock01,
i think the best way to do this is to use a loop and the bundle/unbundle by name functions.
Mike
11-06-2008 06:52 AM
Dear Mike,
I'm lost here but if I unbundle and bundle the clusters I can only reach the rings value (i.e index). Not the strings[]. I can't load the individual rings with an array of strings. I must say that I havn't work so much with references....so I have much to learn.
11-06-2008 07:08 AM
Hi Haddock01,
can you upload an example of your structure with the values you want in it?
Mike
11-06-2008 07:34 AM
11-06-2008 07:52 AM
Mike,
I have here a example....please look at it. It's an array that the user can look into each post (that is loaded from a XML-file).
I cant get the ref. to the individually ring beacuse I don't know where in the array I am.
11-06-2008 07:58 AM
Hi Haddock01,
use the solution IanW mentioned. All your rings can have different values in the array, but not different strings for selection.
Mike
11-06-2008 08:09 AM
Ok. Thanks everyone. This means that I must abandon the structure with an array. I must have individual Clusters, let say 4-5 clusters, that shows post n to (n+4). Only then I can have the rings loaded separate.
I makes the programming little more, I think, heavy but I get it as I want.
Thanks again.