Sign in Join
FPDoc Onlineexperiment

TShellListColumn.CustomID property

Member of TShellListColumnpublishedIn unit ShellCtrls

Identifier used for a column containing custom information provided using the OnGetCellText event handler in a shell list view control.

Declaration

pascal
property CustomID: Integer read FCustomID write SetCustomID default 0;

Description

CustomID is an Integer property used to uniquely identify a custom column defined in the Columns property for a shell list view control. CustomID is significant when ColumnID contains the value cidCustom. If more than one custom column is defined for the control, CustomID provides a unique identifier which can be used in the OnGetCellText event handler to determine the content displayed for a given custom column definition. If a single custom column is used on the control, the value in the property is not needed as an identifier.

The default value for the property is 0 (zero) and generally indicates that an explicit value has not been assigned - but only by convention. Changing the value for the property causes the Changed method to be called for the collection item where a update notification is sent to all items in the collection.

See also

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