I cannot find a way to set width of array index display. Is there any property which can be used. I need to go throug multiple VI-s and set same width of index display for all arrays.
I don't believe there is any way to change the width of the array index via scripting. There is a private property for getting the size, but it is read-only.
Yamaeda I don't know if it's possible, but you could make it a typedef and update it that way.
I understand your idea: use script to replace array controls in different VI-s with strict typedef, change size if index display in the typedef, then (if needed) disconnect from typedef. Unfortunately, it would not work because my array controls have different datatypes.
Darren, how this property can be reached? I am not so good in private properties
As Darren stated, this property is READ ONLY. So it does not help in your request.
Concerning "seeing" private properties: This requires a specific LabVIEW.ini key entry. As the name of that property type (private) indicates, i am not sure if NI discloses this ini-key on a public scale....
In case anybody needs it, here is a VI (saved in LabVIEW 8.6) that contains the private 'Index Rect' property of the Array class. Again, it's read-only, so it doesn't help with the OP's request, but maybe somebody else who stumbles across this thread will find it useful at some point.