TListItem.DisplayRectSubItem function
Gets the display rectangle coordinates for a region in the specified sub-item on its list view control.
Declaration
function DisplayRectSubItem(subItem: Integer; Code: TDisplayCode)
: TRectDescription
DisplayRectSubItem calls methods in the widgetset class to get the
TRect instance with the coordinates for the sub-item region in Code. Code can
contain one of the values from the TDisplayCode type, including:
- drBounds
- Bounds for the sub-item.
- drIcon
- Width and height for the icon on the sub-item.
- drLabel
- Text metrics for the label or caption on the sub-item.
- drSelectBounds
- Bounds for the selection rectangle for the sub-item on the list view control.
SubItem contains the ordinal position in SubItems property with the text for the sub-item.
DisplayRectSubItem is not used in the current LCL implementation (2.2.0).
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
