Ben,
sorry, but this won't work. In this way I can only control the visibility of a certain control in ALL array elements, not only in one element. During runtime, the user can select the number of elements of the array which are shown. Each element consists of controls and indicators.
To make it easy, let's assume, I have an array consisting of 2 controls. In a certain situation, I want to show 3 elements of the array, that would be 6 controls in total. But, depending on another status, I only want to show controls 1,2 (from element 1) and 5,6 (from element 3) and want to hide controls 3,4 (from element 2). This is why I use 3 string controls covering controls 1,2 (first string control), 3,4 (second) and 5,6 (third string control). For the task above, I hid
e string controls 1 and 3 and show string control 2. When I start the vi, everything is fine, controls 1,2,5,6 are visible and controls 3,4 are hidden under the second string control. Then, the strange effect that I described before happens. When I click into control 2 for instance, the numbers from the hidden controls 3 and 4 become visible.
The "real" situation is more complex than the sample described above, because I control the visibility of all controls independently. For the example above, this would mean that I want to show controls 1, 4 and 5 and hide the other 3. If only 2 elements of the array are visible, control 5 must be hidden, too. I see no other chance doing this than using overlaying elements, but if the numbers from the hidden controls become unexpectedly visible just because clicking somewhere else, this is very confusing for the user.
Gabs