Solved

Counting items in a listbox

Posted on 1998-03-04
4
319 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
Comment Utility
Items.Count
0
 
LVL 4

Author Comment

by:jsweby
Comment Utility
Well that was easier than I expected!
Thanks.
0
 

Accepted Solution

by:
jpussacq earned 20 total points
Comment Utility
Items.Count
0
 

Expert Comment

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

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

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…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

763 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now