TlsTreeviewChecklist.Items

TlsTreeviewChecklist

Provides access to the list of items (strings) displayed in the treeview. Items lists the Text property values of all nodes in the outline.

property Items: TStringList;

Description
Use Items to access the list of items that appears in the treeview. Read Items to obtain a text representation of the treeview. Set Items to fill the treeview from a set of text strings. Each string in the Items property represents a node in the treeview.

Leading spaces are converted into levels of the treeview. Text without any leading spaces become level 1 items. For example, the following set of strings represents an treeview with three first level nodes and an additional second level node on the first and third nodes:

ItemA
 ItemA1
ItemB
ItemC
 ItemC1