Sign in Join
FPDoc Onlineexperiment

TDisplayCode enumeration

In unit ComCtrls

TDisplayCode - enumerated type denoting how items are displayed.

Declaration

pascal
TDisplayCode = (drBounds,drIcon,drLabel,drSelectBounds)

Description

TDisplayCode is an enumerated type with values that denote how the item or sub-item 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.

See also

Values

drBoundsList item is rendered using the Bounds for the item display rectangle.
drIconList item is rendered using the width and height for the associated image.
drLabelList item is rendered using the text metrics for the caption in the item.
drSelectBoundsList item is rendered using the selection rectangle for the item.

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.