RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TListItem.Caption Property

Specifies the text that labels the item in the list.

Pascal
property Caption: string;
C++
__property AnsiString Caption;

Use Caption to name the list item. The Caption appears with an associated image that depends on the ViewStyle property of the list view. 

If the ReadOnly property of the list view is false, the user can edit the caption. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!