LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

multicolumn listbox

Hi,

I would like to know how to remove the last item of the array that appears in light gray when the array size is larger than the visible rows in multicolumn listbox.

I attach here an example I found here.

Thanks,

ToNi.

PS. I use LV 7.0 Express.
0 Kudos
Message 1 of 5
(3,193 Views)
Set your Number of Rows Property 3.  You aren't at an exact row number visible.  I don't have 7.0, so I don't know if this was available in 7.0, but if you right-click and do properties on your multi-column listbox, on the appearance tab, change the rows from 3 to 2 and back to 3.  This will show exactly 3 rows.

If the value isn't there, there is a property value called number of rows you can run to do the same thing.

Then, you can't scroll past the last entry.
0 Kudos
Message 2 of 5
(3,190 Views)
Hi,

I think I didn't explain it very well. In the example I attach you, you can see that if you add a new row with the button there is no problem, all is ok while you don't add more rows than the visible ones in the multicolum listbox. The problem is when you add more rows than the visible ones in the multicolumn listbox, then appears, in the last position of the array, an empty image (light gray square without image). Then I want to remove it but I don't know how because I want to add more rows than the ones visible in the multicolumn listbox and I want to do scroll to see them if there are many.

Thanks,

ToNi.


0 Kudos
Message 3 of 5
(3,157 Views)
I saw your problem, and if you do what I suggested, then when you add a 4th line to your listbox, you will not be able to scroll so that there is an empty line.  It will stop scrolling when line number 4 is at the bottom of the table.  Currently, you can scroll past that row.
0 Kudos
Message 4 of 5
(3,150 Views)
I don't know if this save for previous worked (I only have 7.1), but in 7.1, you can no longer scroll past your last item.
0 Kudos
Message 5 of 5
(3,145 Views)