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
Solved

getItemCount function

Posted on 2003-12-03
4
217 Views
Last Modified: 2010-04-05
How to implemente function GetItemCount for the TcomboBox
I need this function.

Thank
0
Comment
Question by:Ayite
4 Comments
 
LVL 26

Accepted Solution

by:
Russell Libby earned 250 total points
ID: 9870043

Are you asking how to get the combo box item count?

ie:

// Control is you declaration of TComboBox
count:=Control.Items.Count

or how to get the item count via a message?

count:=SendMessage(Control.Handle, CB_GETCOUNT, 0, 0);

Perhaps you could explain in a little more detail what your after

Regards,
Russell
0
 

Author Comment

by:Ayite
ID: 9964523
Thanks,
0
 
LVL 2

Expert Comment

by:-Karamja-
ID: 12382431
No comment has been added to this question in more than 21 days, so it is now classified as abandoned..
I will leave the following recommendation for this question in the Cleanup topic area:
Accept: rllibby

Any objections should be posted here in the next 4 days. After that time, the question will be closed.

Karamja (Alan)
EE Cleanup Volunteer
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone 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

Suggested Solutions

Title # Comments Views Activity
Working with hours 3 64
Dev Express grid collapse 2 45
Dev express lookupcombo 3 34
firemonkey keyboard covers the controls 1 37
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…
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

808 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