RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomCombo.GetItemsClass Method

Indicates the class that implements the Items property.

Pascal
function GetItemsClass: TCustomComboBoxStringsClass; virtual; abstract;
C++
virtual __fastcall TCustomComboBoxStringsClass GetItemsClass() = 0;

TCustomCombo uses GetItemsClass internally to determine what class to instantiate when it implements the Items property. 

In TCustomCombo, GetItemsClass is abstract pure virtual, meaning it has no implementation. TCustomCombo descendants override this method to indicate a TCustomComboBoxStrings descendant that implements the Items property. 

 

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