Text class/Scroll Position property

From LabVIEW Wiki
Jump to: navigation, search
VI Server Property Information
Property ID 632D805
Scope Basic Development Environment
Data Name Scroll Position
Short Name* ScrollPos
Long Name* Scroll Position
* Displayed here in English. Short and Long names appear in the language of the LabVIEW IDE.
Owning Class ID 5
Owning Class Name Text Class
Data Type U32 data type

U32

Property Node Scroll Position
Available in Real-Time Operating SystemYes
Available in Run-Time EngineYes
Loads the block diagram into memoryNo
Loads the front panel into memoryNo
Need to authenticate before useNo
PermissionsRead/Write
Remote access allowedYes
Settable when the VI is runningYes

Position of the scroll box in the scroll bar.

To set the position, wire a numeric value to this property that represents the line number to which you want to scroll. LabVIEW pins the numeric value that you wire to the property to the last line of the scroll box. If you want to scroll to the last line of text, wire the maximum numeric value for the line number to the property.

If you wire a negative numeric value or a numeric valuer larger than the scroll bar maximum to this property, the scroll box scrolls to the last line of text.

The position is 0-indexed. For example, if a string control contains 6 lines of text, you can wire a value of 2 to this property to move the scroll box to the position of the third line.


Uses

History

Version Change(s)
LabVIEW 2018 More info to come.

See Also

External Links