Programmatically Set Scroll Bar Position in a Multicolumn Listbox or Tree Control

Updated Dec 11, 2018

Reported In

Software

  • LabVIEW

Issue Details

How can I programmatically set the the scroll bar position for  the Multicolumn Listbox or Tree control?

Solution

The scroll bar position in the Multicolumn Listbox or Tree control is set by using the property node Top Left Visible Cell. The following steps outline the process for creating this property node. 
  1. Right-click the Multicolumn Listbox or Tree control and select Create » Property Node » Top Left Visible Cell.
  2. Right-click the Property Node and select Change to Write from the shortcut menu.
  3. Right-click the Property Node and select Create » Constant from the shortcut menu.
  4. In the cluster constant that appears, enter cell coordinates for the desired top left position.
The figures below illustrate the Top Left Visible Cell property nodes for Multicolumn Listbox and Tree control respectively.

WAS THIS ARTICLE HELPFUL?

Not Helpful