LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How many items in my list box?

Is there an attribute or function that returns the number of items in a list box control for CVI?

I see attributes for VisibleLines and FirstVisibleLine, but I want to know the total number of items in my list box...visible or not.

Do I have to keep up with the total myself as I insert the items into the list box?

Thanks,
Kay
0 Kudos
Message 1 of 2
(2,932 Views)
Yes. There is a function GetNumListItems in the UserInterface library. It isn't an attribute of the list since the list concept is used for many types of controls.

Best Regards,

Chris Matthews
National Instruments
Message 2 of 2
(2,932 Views)