RAD Studio VCL Reference
|
Adds a new item to the collection and initializes its properties.
function AddItem(const Caption: String; const ImageIndex: Integer; const SelectedImageIndex: Integer; const OverlayImageIndex: Integer; const Indent: Integer; Data: Pointer): TComboExItem;
__fastcall TComboExItem AddItem(const AnsiString Caption, const int ImageIndex, const int SelectedImageIndex, const int OverlayImageIndex, const int Indent, void * Data);
Call AddItem to add a new item to the collection. Add instantiates an object of the type that was specified when the TListControlItems instance was created. It then assigns the values of the Caption, ImageIndex, SelectedImageIndex, OverlayImageIndex, Indent, and Data parameters to the TComboExItem properties of the same names.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|