10-02-2014 01:12 AM
Hi,
How can i programmatically scroll down logs in array of strings like that below?
Here is my solution but it scrolls whole array, not individual strings 😞
10-02-2014 01:32 AM - edited 10-02-2014 01:32 AM
Array elements can only differ in value. The scroll position is a property and is shared by all array elements.
Your use of the "indexvals" property makes no sense. It does not select a particular array element, but simply determines which array element is displayed in the leftmost visible position.
You can set the scroll position of the element once. No loop needed (if the strings have different number of lines, things will not work right).
10-02-2014 01:42 AM
10-08-2014 02:28 AM
Thanks Altenbach. I'm afraid that Your solution does not resolve my problem because I have an array of strings (dynamically changing size) and each string can have different number of lines (also dynamically changing). Any idea?
06-15-2017 02:37 PM
I am having the same issue. I discovered that by temporarily making the array 1 element wide/tall you can make only the visible element scroll, but it'll scroll back to whatever position the other elements are in if you mouse over it or change the value. Even when the vi is off the strings will automatically scroll to each other's position if you mouse over them. I consider this a bug and hope NI fixes it soon. I'm quite certain that no fix is currently available.