Listbox Width Scrollbar Is Not Persist On Reopening

Updated Jan 9, 2019

Reported In

Software

  • LabVIEW 2017
  • LabVIEW 2018
  • LabVIEW 8.0

Issue Details

I would like to widen my listbox scrollbar so it would be more touch friendly. I have customized the property of it and saved it in my VI. However, when I open the VI again, the width of the scrollbar was back to default size even though I have saved the project previously. How do I set the width of the scrollbar to persist?

Solution

This is a known issue found in LabVIEW, some listboxes type would revert back to the default size even though they are already saved.  Based on the LabVIEW version, this applies to either Tables, list boxes, and multi-column listboxes or Listbox (Modern) and Listbox (NXG Style). 

Depending on the LabVIEW version, we could apply the following work around:

LabVIEW 8.0, 8.0.1 and 8.20
We can use the Index Values property to programmatically scroll the table/list control.  Using boolean buttons instead of a scrollbar, you can increment/decrement the Row and Column values of the Index Values property.  The zip file below contains a VI which shows an example of how to do this.  Place the "parallel loop" in your existing application and use property nodes to manipulate your existing table controls.  This loop is shown below


LabVIEW 2009 or Later
We can use Listbox (Silver) for this scenario, as it is also designed to address the need of customizing the width of the scrollbar. 

 

WAS THIS ARTICLE HELPFUL?

Not Helpful