Scroll Position Property

Short Name: ScrollPos

Requires: Base Development System

Class: Text Properties

To Use: Create a property.

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.

Remarks

The following table lists the characteristics of this property.

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