Sign in Join
FPDoc Onlineexperiment

TCustomDrawStateFlag enumeration

In unit ComCtrls

TCustomDrawStateFlag - series of flags to define the DrawState.

Declaration

pascal
TCustomDrawStateFlag = (cdsSelected,cdsGrayed,cdsDisabled,cdsChecked,
 cdsFocused,cdsDefault,cdsHot,cdsMarked,
 cdsIndeterminate)

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

Values

cdsSelectedControl is drawn using the selected style.
cdsGrayedControl is drawn using the grayed or unselected style.
cdsDisabledControl is drawn using the disabled style.
cdsCheckedControl is drawn using the checked style.
cdsFocusedControl is drawn using the focused style.
cdsDefaultControl is drawn using the default style.
cdsHotControl is drawn using the hot tracking style.
cdsMarkedControl is drawn using the marked (multi-selected) style.
cdsIndeterminateControl is drawn using the indeterminate state style.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.