RAD Studio VCL Reference
TComboExItems.Insert Method

Inserts a new item at a specified position.

function Insert(Index: Integer): TComboExItem;
__fastcall TComboExItem Insert(int Index);

Call Insert to insert a new item into the collection at a specified position.  

Insert instantiates an object of the type that was specified when the TListControlItems instance was created and inserts it into the collection at the position specified by Index. An index of 0 specifies the first position, 1 specifies the second position, and so on. 

Insert returns the newly created object so that you can specify its properties. 


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