09-10-2013 06:04 PM
I have an array of clusters, each with two elements: an array of four numeric controls, and a boolean control. Is it possible to programmatically modify the colors(4) property of individual boolean control elements within this broader array? My first attempt modified the colors of all elements of the larger array. Must every successive element of an array share the same properties (color in this case)?
See attached example.
Thanks in advance,
Cameron
09-10-2013 06:54 PM
Hello Cameron,
That is correct- every element of the array will have the same properties. This is discussed a bit here:
KnowledgeBase: How Do I Access the Properties \ Methods of Elements in an Array?
http://digital.ni.com/public.nsf/allkb/9C724FA09837317B86257289005416EC
Try to think of arrays as a way to easily handle identical data types with diferent values.
If you need a way to display more than two colors, you may want to try a color box or ring indicator- these will allow you to set color by value, rather than as a property.
Regards,
09-11-2013 10:03 AM
This makes sense. Thanks for the help.