Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


ComboBox numbers of elements ?

Posted on 2006-05-17
Medium Priority
Last Modified: 2010-04-05
How can i get number of elements in ComboBox ?
Question by:65zgtre45rr
LVL 17

Expert Comment

ID: 16703058

Accepted Solution

Scay7 earned 200 total points
ID: 16704015
Add onto what mokule said :P

var count : integer;
count := combobox1.items.count;
label1.caption := inttostr(count);

Peace Scay7

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
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…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses

579 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