TDisplayCode - enumerated type denoting how items are displayed.
Source position: comctrls.pp line 976
type TDisplayCode = ( |
||
drBounds, |
|
List item is rendered using the Bounds for the item display rectangle. |
drIcon, |
|
List item is rendered using the width and height for the associated image. |
drLabel, |
|
List item is rendered using the text metrics for the caption in the item. |
drSelectBounds |
|
List item is rendered using the selection rectangle for the item. |
); |
TDisplayCode is an enumerated type with values that denote how the item or subitem is displayed in a list view control. The values are passed as arguments to the DisplayRect and DisplayRectSubItem methods in TListItem, and allows the widgetset to layout and rendering the list items for the platform.
|
DisplayRect - returns the coordinates of a rectangle for displaying the current item. |
|
|
DisplayRectSubItem - returns the coordinates of a display rectangle for a specified sub-item. |