LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Controlling Scroll Bars

Hi,

I have a text box in the FP which is continuously appended at the bottom with text coming in from a serial port.

In the VI Properties I enabled the scroll bars.

Question is:

I would like to have the scroll bar default to be positioned at the bottom of the text box so the user can always see the newest text as it comes in. Currently, the scroll bar is hovering somewhere in the middle of the text volume while trying to 'catch up' with the incoming text.

Thanks

Don J.

DaniDin
0 Kudos
Message 1 of 8
(3,494 Views)

Use a property node and set the scroll position

http://digital.ni.com/public.nsf/allkb/E824BDE35298537B86256E450065AB66


CLA CTAChampionI'm attending the GLA Summit!
Subscribe to the Test Automation user group: UK Test Automation Group
0 Kudos
Message 2 of 8
(3,490 Views)

Thanks for the reply Ace.

I saw that post you pointed me to before I sent my question in.

That solution works if the text box in question is a Controlled String. My text box is a String Indicator, and as such does not seem to have that Create Property Node option for the scroll bar....

DaniDin
0 Kudos
Message 3 of 8
(3,482 Views)

It will work for indicators too.

If you resize the string indicator (vertically so that it is atleast double in size), right click, visible items >> vertical scrollbar should be selectable.


CLA CTAChampionI'm attending the GLA Summit!
Subscribe to the Test Automation user group: UK Test Automation Group
0 Kudos
Message 4 of 8
(3,472 Views)

You are correct.

Kudos to you Ace 🙂

DaniDin
0 Kudos
Message 5 of 8
(3,449 Views)

If this post is still active when I click on link it says I'm not authorized to view this document.

0 Kudos
Message 6 of 8
(3,368 Views)

Set scroll to the bottom (top line is 1M or less if text shorter.):

 

text scroll.png

 

snippet disconnected property node from control =(

0 Kudos
Message 7 of 8
(3,346 Views)

thanks..

0 Kudos
Message 8 of 8
(3,342 Views)