RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TListControlItems Class

TListControlItems manages a collection of TListControlItem objects.

Pascal
TListControlItems = class(TOwnedCollection);
C++
class TListControlItems : public TOwnedCollection;

TListControlItems manages a collection of items that each include a text value, associated image, and a data pointer. 

Use the properties and methods of TListControlItems to: 

Access a specific item. 

Add or delete items from the collection. 

Find out how many items are in the collection. 

Sort the items in the collection. 

Although TListControlItems can be used on its own, it also acts as a base class to classes that manage the items for a specific component. TListControlItems descendants include TComboExItems, which manages the items of a TComboBoxEx control, and TStaticListItems, which manages items for a list action component. 

 

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