Solved

Counting items in a listbox

Posted on 1998-03-04
4
323 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
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…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

726 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