Vcl.ComCtrls.TListItem.SubItems

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property SubItems: TStrings read FSubItems write SetSubItems;

C++

__property System::Classes::TStrings* SubItems = {read=FSubItems, write=SetSubItems};

Properties

Type Visibility Source Unit Parent
property public
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TListItem

Description

Contains any strings that appear as subitems to the list item.

Use SubItems to add strings that appear in the additional columns to the right of the list view item when the list view's ViewStyle property is vsReport. The TStrings object that implements the SubItems property is created when the list item is created. To the methods of the SubItems object to add or delete subitems.

Note: Subitems are only visible when the list view's ViewStyle property is set to vsReport.

See Also

Code Examples