当前位置:网站首页>The content in the LabVIEW display control is too long. Set the automatic scroll bar

The content in the LabVIEW display control is too long. Set the automatic scroll bar

2022-04-23 22:04:00 InfoQ

This blog post shares a small skill in programming , stay LabVIEW The content in the display control is too long. Set the automatic scroll bar .
LabVIEW The display control settings scroll bar is very simple , Select the component , Right click to select :
attribute → appearance → Enables the display of vertical scroll bars
, As shown in the figure below :
null
null
​ This shows that there is a vertical scroll bar on the right side of the display control , As shown below :
null
​ But in use , When the data display in the display control is full , The scroll bar does not automatically move down , At this time, in order to facilitate viewing data, you can set the scroll bar to automatically adjust to the end .
You need to select the display control in the program panel , Right click , choice :
establish → Attribute node → Text → Scroll bar position
, As shown in the figure below :
null
​ The scroll bar position attribute can set the position of the scroll box in the scroll bar , The details are as follows :
null
Refers to the scroll bar position property , Assign the maximum number of lines to this attribute in the program , It means that it will automatically scroll to the last line of text , The implementation procedure is as follows :
null

版权声明
本文为[InfoQ]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/113/202204232202102990.html