LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

move sidebar in a listbox

Please look at the attached VI. While increasing the control "Value" the marked row in table moves. But if the Value goes >8 the marked row is no more visible until the sidebar is moved down.

My question, is it possible to set the position of the sidebar?!

 

The VI is stored with LV7.1!

 

 

0 Kudos
Message 1 of 4
(2,976 Views)

That's actually the scrollbar, not a sidebar, which is something else entirely. write to the Top Left Visible Cell property. This would be based on the value of the numeric and the number of visible rows.

 

Suggestion: You may find it easier to use an event structure for this. 

Message 2 of 4
(2,966 Views)

Hello,

 

I guess what you are looking for is the tables property called "Top Left Visible Cell". It is a cluster of two elements containing the row and column of the top left cell in the current table view. If you change this property considering your currently selected row (value) and size of your table the scrollbar(s) will adjust automatically.

 

Hope this helps.

Regards,

Thomas

Message 3 of 4
(2,965 Views)

Scollbar, OK, but I see you know what I mean....Smiley Wink

 

Property node "Top Left Visible Cell" is what I was looking for, thanks for answers!

Message 4 of 4
(2,943 Views)