Solved

Counting items in a listbox

Posted on 1998-03-04
4
322 Views
Last Modified: 2010-04-06
My listbox loads from a file (LoadFromFile) of strings each time the form is activated because the items can change quite often.

I want to display how many items there are in the listbox, i.e. perform a count of items in it.
0
Comment
Question by:jsweby
  • 2
4 Comments
 

Expert Comment

by:jpussacq
ID: 1360071
Items.Count
0
 
LVL 4

Author Comment

by:jsweby
ID: 1360072
Well that was easier than I expected!
Thanks.
0
 

Accepted Solution

by:
jpussacq earned 20 total points
ID: 1360073
Items.Count
0
 

Expert Comment

by:SAMEH_MAX
ID: 1360074
WHEN THE FORM IS ACTIVATED (EVENT),
THE CODE IS: LISTBOX1.ITEMS.COUNT;
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question