Unit 'ComCtrls' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#lcl]

TDisplayCode

TDisplayCode - enumerated type denoting how items are displayed.

Declaration

Source position: comctrls.pp line 984

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 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

TListItem.DisplayRect

  

Gets the display rectangle for the specified region of the list item on its list view control.

TListItem.DisplayRectSubItem

  

Gets the the display rectangle coordinates for a region in the specified sub-item on its list view control.



CT Web help

CodeTyphon Studio