LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to init scrollbar position in an array control?

hi everyone,

I a subVi, I have an array control (including clusters of picture + path) and an horizontal scrollbar.

If I move the scrollbar on the right and select an item, the scrollbar stays at the same place the next time I open this subVI but I would like to place the scrollbar so that the first item of the array is visible on the left side.

could someone tell me how to move the scrollbar to the left?
Message 1 of 3
(3,122 Views)
Hi James,

most probable you have to set the index display to zero. I have not verfied this but I think it can work.

So in the initializations code of the VI you have to set the index display of the array to 0 (this is a property of the array)

Ton
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
Message 2 of 3
(3,118 Views)
thanks a lot, I used the "index values" property with an array only including the value "0" and it works fine.
Message 3 of 3
(3,115 Views)