LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

scrollbars on string control

How do I make my string control show scrollbars. When I right click on Visible Items the scrollbar is greyed out. I have tried both new and old LV style controls. I do have some controls which look exactly same but have scrollbars like source control under error cluster.
0 Kudos
Message 1 of 5
(3,357 Views)
Vishi,

the scrollbar item will be enable after you enlarge the height of the string enough to make place to a scrollbar.


LabVIEW, C'est LabVIEW

0 Kudos
Message 2 of 5
(3,356 Views)
Hi,
You must do the following:
1.Change your mouse pointer to positioning tool (arrow).
2.With this tool change the size of your string in vertical dimension. I mean that you must resize you string in order to increase the number of lines in it.
3.Now you can make scrollbars visible like you tried to do it before.

Good luck.

Oleg Chutko.
0 Kudos
Message 3 of 5
(3,356 Views)
Thanks,

I should have tried it but I saw the option "limit to one line" was off so I thought I should be able to just enable the scrollbars, not whether LV can display it properly or not, that's another thing.

Any way,

Now how does one make the scrollbars move so I always show the test at the end. I read I can set Text.ScrollPosition
to some large number and that will do the trick. Is that it? Or there is a way to find number of lines in a text box.
0 Kudos
Message 4 of 5
(3,356 Views)
LabVIEW 7 has a property for string objects that allow for the setting of the scroll postion. You give it a numeric standing for the line to be displayed.
0 Kudos
Message 5 of 5
(3,356 Views)