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

TCustomDrawStateFlag

TCustomDrawStateFlag - series of flags to define the DrawState.

Declaration

Source position: comctrls.pp line 945

type TCustomDrawStateFlag = (

  cdsSelected,

  

Control is drawn using the selected style.

  cdsGrayed,

  

Control is drawn using the grayed or unselected style.

  cdsDisabled,

  

Control is drawn using the disabled style.

  cdsChecked,

  

Control is drawn using the checked style.

  cdsFocused,

  

Control is drawn using the focused style.

  cdsDefault,

  

Control is drawn using the default style.

  cdsHot,

  

Control is drawn using the hot tracking style.

  cdsMarked,

  

Control is drawn using the marked (multi-selected) style.

  cdsIndeterminate

  

Control is drawn using the indeterminate state style.

);

Description

TCustomDrawStateFlag is an enumerated type with values representing the drawing states available in custom-drawn controls. Values from the enumeration are stored in the TCustomDrawState set type passed as an argument to event handlers in list view and tree view controls, and stored internally in the controls.

See also

TCustomDrawState

  

TCustomDrawState - set of TCustomDrawStateFlag.

TLVCustomDrawItemEvent

  

Specifies an event handler signalled to custom draw an item on a list view control.

TLVCustomDrawSubItemEvent

  

Specifies an event handler signalled to draw the SubItem value for a list item on a list view control.

TLVAdvancedCustomDrawItemEvent

  

Specifies an event handler signalled to perform advanced custom drawing for a list view item with stage and state information.

TLVAdvancedCustomDrawSubItemEvent

  

Specifies an event handler signalled to perform advancing drawing for a list view sub-item with stage and state information.

TTVCustomDrawItemEvent

  

TTVCustomDrawItemEvent - generic event handling method for Tree View Item custom drawing.

TTVAdvancedCustomDrawItemEvent

  

TTVAdvancedCustomDrawItemEvent - generic event handler method for Tree View Item advanced custom drawing.


Version 3.2 Generated 2024-02-25 Home