Sign in Join
FPDoc Onlineexperiment

THeaderSection.ImageIndex property

Member of THeaderSectionpublishedIn unit ComCtrls

Ordinal position for the image displayed for the header section.

Declaration

pascal
property ImageIndex: TImageIndex read FImageIndex write SetImageIndex default - 1;

Description

ImageIndex is a TImageIndex property with the ordinal position for an image displayed on the header section. The default value for the property is -1 and indicates that a value has not been assigned for the property. Changing the value for the property causes the Changed method to be called to update the item in its collection.

ImageIndex refers to the position in the Images property in an associated THeaderControl. It is used, along with Text and Alignment, in the PaintSection method in TCustomHeaderControl / THeaderControl. The values control the content rendered for the header section on the control canvas.

See also

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