Community Documents

cancel
Showing results for 
Search instead for 
Did you mean: 

Programmatically set Scroll Bar Position in a Multicolumn Listbox

The scroll bar position in the Multicolumn Listbox 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 Vi 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, as shown in Figure 1.
  5. Run the vi. The propery node will programmatically set the position of the Multicolumn Listbox to the position set by the Top Left Visible Cell property node.

    Note: The top element correlates to the row, while the bottom element correlates to the column.

Figure 1: Block Diagram and Front Panel example of Multicolumn Listbox and Property Node.


Refer to the LabVIEW Help, which you can access by selecting Help»Contents and Index, for more information about individual properties and valid values.

Systems Engineer
SISU
Contributors