TListItem.SubItems property
Contains text displayed as additional columns on the list view control.
Declaration
property SubItems: TStrings read GetSubItems write SetSubItems;Description
SubItems is a
TStrings property with text displayed for
additional columns when the ListView control sets its ViewStyle property to
vsReport. Column 0 always contains the Caption for the list item. Values in
SubItems are displayed starting at column number 1 and continue through the
number of columns defined on the list view control. In other words, column 1
is SubItems[0]. Column 2 is SubItems[1]. Ad infinitum.
Values in Subitems can assigned at design-time using the Items property editor in the Lazarus IDE. They can also be assigned at run-time. Maintain the Columns property in the ListView control to match the number of columns needed for the values in SubItems.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
