LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

text box scroll

Hi,

I have a VI with a text box that i am using to display messages, errors etc on. These are being added using property nodes from various places on the block diagram. Is there anyway to make the text box scroll automatically?

I dont want to set the scroll position each time I write to the box as it looks messy and takes up more room.
0 Kudos
Message 1 of 5
(3,506 Views)
You're going to have to use a property node to set the scroll position but you can do it in a separate while loop instead of everytime you update the indicator.
Message 2 of 5
(3,506 Views)
"Oh yeah, i didn't want to do that as i thought i would need to no how much data had been written, but you don't do you? Thats a neat trick. Thanks"
0 Kudos
Message 3 of 5
(3,506 Views)
Do you know of any way to findout what the position of the bottom is? I want to only scroll the bar if the user has placed the scroll bar at the bottom.
0 Kudos
Message 4 of 5
(3,506 Views)
If you want to always display the end of the string, set the scroll position to an arbitrarly large value. You don't need to figure the exact position as the end of the string is shown when the entered scroll position is larger than the number of lines. Setting the scroll position to the string length will always do the job.


LabVIEW, C'est LabVIEW

0 Kudos
Message 5 of 5
(3,506 Views)