THTMLTreeList is a specialized UI component developed by TMS Software, distributed as part of their TMS HTML Controls Pack and the broader TMS VCL UI Pack for Delphi and C++Builder.
It combines the hierarchical structure of a traditional tree view with the multi-column format of a list view, layered with built-in mini HTML rendering engine capabilities. Core Purpose & Functionality
In standard Delphi components (TTreeView or TListView), adding multi-column layouts with mixed text formatting (like bolding specific text or embedding images in individual cells) requires extensive, manual owner-draw coding. THTMLTreeList solves this by natively parsing a subset of HTML tags inside individual tree nodes and across multiple columns. Key Features
Multi-Column Layout: Features a Columns property where you can set individual column widths, text alignments (left, right, center), and headers.
Mini HTML Engine: Allows you to format text inside any cell of any column using classic HTML formatting tags (e.g., , , ).
Advanced Multi-Image Support: Standard tree components usually restrict you to a single image per node mapped via an ImageList index. THTMLTreeList permits you to insert multiple images inside any column text by embedding HTML tags like directly into the string.
Custom Node Heights: Offers an ItemHeight property, allowing you to establish predictable spacing for multi-line or richly styled HTML entries.
Hyperlink Interaction: Supports anchor click events (), enabling clickable links directly inside the tree list structure to trigger application code. Primary Use Cases
Complex Dashboards: Displaying tabular, hierarchical corporate data (e.g., financial ledger trees) where specific rows require visual highlights or red/green status colors based on performance markers.
Advanced File/Resource Explorers: Showing system directory trees with different columns for file types, sizes, and metadata, formatted with distinct font colors and integrated status icons.
Interactive Help Checklists: Presenting multi-step documentation outlines with text formatting and direct links that open deep features within the software.
To help me tailor more technical details for your project, please let me know:
Are you looking to implement dynamic column population via Delphi code?
Do you need assistance mapping custom actions or URL anchors within the HTML text?
Are you migrating this from standard VCL components like TTreeView or TListView?
Leave a Reply