04-19-2013 12:47 PM
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.
04-19-2013 01:10 PM
Use a property node and set the scroll position
http://digital.ni.com/public.nsf/allkb/E824BDE35298537B86256E450065AB66
04-19-2013 01:42 PM
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....
04-19-2013 01:52 PM - edited 04-19-2013 01:53 PM
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.
04-19-2013 05:11 PM
You are correct.
Kudos to you Ace 🙂
01-14-2016 10:00 AM
If this post is still active when I click on link it says I'm not authorized to view this document.
01-14-2016 10:26 AM - edited 01-14-2016 10:29 AM
Set scroll to the bottom (top line is 1M or less if text shorter.):
snippet disconnected property node from control =(
01-14-2016 10:28 AM
thanks..