LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Multicolumn Listbox - Text alignment on complete row?

Hello, 

 

Is there a way to set the text alignment in a Multicolumn Listbox for a complete row? 

 

When I select an item, it's only possible to set this one item. 

In the property notes can the cell aligment only be set for the active cell...

 

Since my Listbox is dynamically filled in one Call (ItemNames as array and the list can be really long), I don't want to parse the list each time with a for-loop to set the alignment ... 

0 Kudos
Message 1 of 3
(91 Views)

You can set -2 for the Active Cell.Column property. It selects all columns.

See the help for the Active Cell property.

Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021
Message 2 of 3
(74 Views)

SetRowAlignment.png

 

 

 

You can use the ActiveCell property with -2 for the column.

Message 3 of 3
(72 Views)