RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TListControlItem Class

TListControlItem represents an item with a text value, an image, and a data pointer.

Pascal
TListControlItem = class(TCollectionItem);
C++
class TListControlItem : public TCollectionItem;

TListControlItem represents a single item in a control that lists items. TListControlItem objects are used by TStaticListAction to represent the items in a variety of client controls such as list views, list boxes, and combo boxes. In addition, TListControlItem is the base class for TComboExItem, which is specialized to work with the TComboBoxEx control. 

Each TListControlItem has  

A text value, which it stores as the Caption property. 

An associated image, which is identified by the ImageIndex property. 

A data pointer, which it stores as the Data property. 

 

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