[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'ComCtrls' (#lcl)

TDisplayCode

TDisplayCode - enumerated type denoting how items are displayed.

Declaration

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.

);

Description

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.

See also

TListItem.DisplayRect

  

DisplayRect - returns the coordinates of a rectangle for displaying the current item.

TListItem.DisplayRectSubItem

  

DisplayRectSubItem - returns the coordinates of a display rectangle for a specified sub-item.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.