From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Position in scrollable window

I am displaying a text string in a indicator with scroll bars. The text in the string is being updated as I read more data. By default, the text is displayed with the beginning of the string visible then scroll bars when it is too long to fit in the window. Is there any way to make the indicator keep the end of the string (ie the most recent data) in view instead of the beginning?
0 Kudos
Message 1 of 4
(2,369 Views)
There is a property node named "Scroll position". You just need to wire a constant with a large value to get the cursor postioned at the end of the text.
Chilly Charly    (aka CC)

         E-List Master - Kudos glutton - Press the yellow button on the left...
        
Message 2 of 4
(2,359 Views)
Hi Simon,

You could add in the string length function to get the value that you want to wire to the scroll position so that it'll take you to the end of the string.

Hope this helps

Lilly N

National Instruments UK & Ireland
0 Kudos
Message 3 of 4
(2,330 Views)
Thanks, these suggestions have solved my problem.

Simon
0 Kudos
Message 4 of 4
(2,318 Views)