Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Counting items in a listbox

Posted on 1998-03-04
4
Medium Priority
?
325 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 60 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Suggested Courses

618 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