LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

array of cluster table

I need an array of cluster elements that includes two boolian indicators, numbers, and text. I need to permit user selection of a row (cluster) with color on the selected row, but not in the boolian parts, and user permission to edit only one of the boolians. I like the looks of the array of clusters, but it does not select easily and I cannot change the color of a single row. I guess I could put a bar behind and make the array background transparent?
0 Kudos
Message 1 of 3
(2,885 Views)
Fred,

Is the main thing you're after a visual representation that the user has clicked on a specific cluster in your cluster array?  If this is the case, then I think your general idea is correct: use transparent backgrounds for both the cluster and the array box, put a colored, cluster-sized button behind the array, and move that button appropriately in response to mouse click events on the array object.

To ensure that only one of the booleans in the cluster is operable by the user, I would suggest making the cluster a control instead of an indicator, then selectively disabling (Advanced >> Enabled State >> Disabled) the cluster objects that the user doesn't have permission to edit.

--John
0 Kudos
Message 2 of 3
(2,859 Views)

I set up an array of clusters for my data base.

Then I set up a cluster of clusters arranged aginst the left edge and compressed so they look very much like the array.

Then I can change the color of each cluster individually, and connect the data from the cluster of clusters to the cluster array data base, and vice versa. That lets the user see which item is selected, see changes in data from other sources, and make changes which the rest of the program can see. It works OK but it is messy since I have to build an array of references to the seperate clusters in the cluster of clusters in order to select them and colorize them. If I edit the cluster I have to rebuild the array of refrences to have it work. But it does work reasonably fast and clean. Not ideal for the programmer but more user friendly.

0 Kudos
Message 3 of 3
(2,834 Views)