12-03-2010 03:25 PM
I have a main cluster that contains 2 sub clusters of controls. I would like to use a Reference to the main cluster to get to the properties of the 2 sub clusters of controls.
Using a reference to the main cluster I can get the Controls[] reference array to the two sub clusters. However I would need another Controls[] property to get to the elements in the sub clusters and I don't see an option to do this.
One picture is worth a thousand words so I've attached a picture of what I'm trying to describe
Thankyou
Solved! Go to Solution.
12-03-2010 03:38 PM
You need to use the reference to the clusters of the inner clusters to get to the properties of those elements. Using the To More Specific Class and checking the error out will prevent an attempt to act on controls in the outer cluster which are not clusters.
Lynn