LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Hom can I change scrollbar settings?

Hi,

I want to change the table-scrollbar settings. I have a table that has 11 lines and 5 columns, but on the frontpanel the table shows only 6 lines. When I scroll down the bar, I can scroll the table infinitely, but I want to limit it until to line 11. How can I change the settings for the table-scrollbar?

thanks Labprog
0 Kudos
Message 1 of 12
(5,233 Views)
hi Labprog,

did you try it via the property node?
right click on the table terminal on the block diagram and select create => Property Node. then browse to the Vert Scrollbar and Horiz Scrollbar. change them to write, and wire a boolean constant or control.

greets!
0 Kudos
Message 2 of 12
(5,230 Views)
hi Waterman,

I try it via property node, but there is no Vert Scrollbar or Horiz Scrollbar.
0 Kudos
Message 3 of 12
(5,225 Views)
Hi,

There are "Horizontal ScrollBar Visible" and "Vertical ScrollBar Visible" properties, but I don't think that will solve your problem, since you don't have the complete table visible on the screen and so you will need scrollbars.
Once I had that problem and I solved it hiding the scrollbars and acting in the property "Edit Position" with a control made by me and so I can control the begin and end of it...
Unfortunately I don't know a better way to do it.

Hope this helps,
Paulo
0 Kudos
Message 4 of 12
(5,222 Views)
hi

I have solved it! thanks all!!
0 Kudos
Message 5 of 12
(5,209 Views)
I want to know how I can I change the position of the scrollbar. Everytime, I update my data I have to scroll down and look for it. How do I automatically make it update by itself?
0 Kudos
Message 6 of 12
(5,160 Views)
It's just fiddling with some of the properties again.  There's an "Index visible" property that you can use to tell it what cell is showing in the top left corner.

See the attached vi.
Message 7 of 12
(5,156 Views)
I am using a string indicator. Would it work the same way?
0 Kudos
Message 8 of 12
(5,150 Views)
Yep, although it's a different property.  See the modified attached vi
Message 9 of 12
(5,143 Views)

I have a similar problem, attached. I'm using a text box to display program status to the user, so throughout my code I've got concatonated strings, but to make sure the most recent message is displayed I write a large value to text scroll pos. (in the hope the user will never reach that value).

 

That works fine but wherever there's a new message in the code I have to write to text scroll pos. at the same time. Which looks really messy. Is there any way I can set the property once?

 

Thanks

 

 

0 Kudos
Message 10 of 12
(4,575 Views)