LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Programming 2 multi-column listboxes

Can anyone help with my presentation problem? I have an array of data 20 columns wide but can only afford to display a multi-column listbox 10 columns wide. I have developed code to display the data in 2 listboxes, cols 1-10 in one and cols 11-20 in the next. I have arranged that when the first listbox is scrolled, the second automagically scrolls with it using the TopLeft Cell Property. However, when I select a row in the first listbox and it gets filled in with the selection colour, I have been unable to find out how to programmatically select the equivalent row in the second listbox. Active Cell looks like it should help but doesn't. Any ideas? See VI attached for my test VI splitting 6 columns over 2 listboxes.
0 Kudos
Message 1 of 3
(2,621 Views)
The correct property to use is "Value". It's as simple as this. Wire the two Values together and you will have what you want.

Hope this helps !
Julien
Message 2 of 3
(2,621 Views)
Thanks Julien!!!!! It works a treat. I didn't find the context help useful, it's not very intuitive.
0 Kudos
Message 3 of 3
(2,621 Views)