Example Code

Have Multiple Lists Scroll Simultaneously

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Software

  • LabVIEW

Code and Documents

Attachment

Overview

This VI shows how to make multiple long lists scroll together by utilizing the Top Row property node. 

 

Description

This VI shows how to make multiple long lists scroll together by utilizing the Top Row property node. The VI first dynamically creates two 50 element lists, then allows the user to scroll both lists by only moving the first Listbox.

 

Requirements

  • LabVIEW 2012 (or compatible)

 

Steps to Implement or Execute Code

  1. Run the VI.
  2. Drag the scroll of any Listbox, then the scroll of the other Listbox will move together

 

Additional Information or References

Front Panel

2.png

 

Block Diagram

3.png 

 

**This document has been updated to meet the current required format for the NI Code Exchange.** 

Cole R.
National Instruments
Software Engineer

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.