ni.com is currently experiencing unexpected issues.

Some services may be unavailable at this time.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

resize a multicolumn listbox

Hello!
 
I want to resize a multicolumn listbox. But i don't want to resize wiring the number the columns and rows by his property node. I want to wire automaticlly the width and the height exactly of the multicolumn listbox. I'm looking forward the property node but i haven't found it. How can i wire this values, thanks.
 
Larson
Message 1 of 5
(4,903 Views)

There is no property node to change the size of a list box.

However, there is a workaround : you can set the cell sizes and the number of rows and columns.

Accordingly a solution is to save the initial cell dimensions, create a big single cell listbox with appropriate dimensions, then reset the cell sizes.

The attached vi does the trick, but I left some work for you : you'll have to modify it to also adjust the Listbox height 😉

Chilly Charly    (aka CC)
Message 2 of 5
(4,884 Views)
Hi Larson,
 
Here is an example that will resize all the cells inside a multicolumn list box,
Enter the cell height and cell width and click on resize button
 
Hope this helps
 
Regards
Dev
 
 
Message 3 of 5
(4,881 Views)
Hi!
 
Can you post the vi in labview version 7.0?
 
Thank you!!
0 Kudos
Message 4 of 5
(4,877 Views)

Here in LabVIEW 7.0

regards

 

Message 5 of 5
(4,870 Views)