04-15-2009 11:39 PM
04-16-2009 01:35 AM
Arvont wrote:
...
Also one other problem I ran into is getting all of the controls that are inside of clusters since the Pnl.Controls[] property doesn't return controls that are inside clusters. It only returns a reference to the cluster itself. I know that I can use a property to return references to controls in a cluster but what happens if I have a cluster within a cluster?
Arvont
Hi Arvont,
see this link please.
http://forums.ni.com/ni/board/message?board.id=170&message.id=139227&query.id=126610#M139227
It shows how you can get all elements, also inside a cluster.
Mike
04-16-2009 05:12 AM
04-16-2009 05:51 AM - edited 04-16-2009 05:53 AM
Arvont wrote:
....
Also one other problem I ran into is getting all of the controls that are inside of clusters since the Pnl.Controls[] property doesn't return controls that are inside clusters. It only returns a reference to the cluster itself. I know that I can use a property to return references to controls in a cluster but what happens if I have a cluster within a cluster?
Arvont
Please take a look at this Nugget where I illustrate how to get refs within clusters ... in arrays of clusters... in arrays of clusters of arrays of clusters of clusters.... etc.
Ben