RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomCombo.GetItemCount Method

Returns the value of the ItemCount property.

Pascal
function GetItemCount: Integer; virtual; abstract;
C++
virtual __fastcall int GetItemCount() = 0;

GetItemCount is the protected read access method for the ItemCount property. In TCustomCombo, this method is abstract (pure virtual), meaning it has no implementation. Descendant classes override this method to return the number of items in the drop-down list. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!