ImageIndex

Class: TEgColumn

property ImageIndex: Integer default -1;

Default index into the grid’s Images for this column’s data cells. -1 (the default) means “no image” - the same convention OnBeforeDrawCell’s own ImageIndex parameter already uses.

Read at the very start of cell drawing, before OnBeforeDrawCell runs (grid handler, then this column’s), both of which can still freely raise, lower, or clear whatever this property seeded - it only supplies the starting value, it does not lock it in. Unlike the nineteen live-tracking overrides (see TEgColumn), there is no grid-wide equivalent to follow, since a default data-cell image is not otherwise a concept that exists - the image is normally decided per cell, dynamically, by the events.

On a graphic/BLOB column

See also TitleImageIndex for the title cell, and ImageAlignment to position the image.

See Also

(C) 2026 Easygate, Lda