LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

auto adjust column width in multicolumn listbox

Hi

May I know, does multicolumn listbox has a function / control to auto adjust the column width?  If not, how can I solve this problem, as user could not view the full data if the width that I set is too small. It would be annoying if the user need to adjust it manually each time they get the data from database....

Any advise??? TQQQQQ......
0 Kudos
Message 1 of 4
(4,752 Views)
Hello 222,

I've already seen a few threads about "auto adjust multi-column listbox column width", as far as I can remember, there is not such option in LV 7.1 (I don't know about LV 8).
Meanwhile I think there are option that can allow the user the modify column width at runtime. This plus an horizontal scrollbar should be the alternative... I know it is not "perfect" for the user.
You also have the possibility to do a function that will compare the string length to the column width, and to programatically increase the width if needed.
Personnaly I wouldn't go for this but this is your choice 😉

We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

0 Kudos
Message 2 of 4
(4,749 Views)
Thanks Titou....

I'm using Labview 8.. and found no such control as well... sigh.... NI should look into this in their future version...
0 Kudos
Message 3 of 4
(4,745 Views)
Yep... You are not the first one to ask for this Smiley Tongue

You can as well have a look at that thread...

We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

0 Kudos
Message 4 of 4
(4,740 Views)