getItemCount function

How to implemente function GetItemCount for the TcomboBox
I need this function.

Thank
AyiteAsked:
Who is Participating?
 
Russell LibbyConnect With a Mentor Software Engineer, Advisory Commented:

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
 
AyiteAuthor Commented:
Thanks,
0
 
-Karamja-Commented:
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
All Courses

From novice to tech pro — start learning today.