Images

Class: TEgDBGridEx

property Images: TCustomImageList;

Image list supplying the icons drawn by OnBeforeDrawTitle (title cells), OnBeforeDrawCell (any data cell, via its ImageIndex/ImageAlignment output), TEgColumn’s own ImageIndex/ TitleImageIndex properties, and CornerImageIndex (the fixed corner cell). Not owned or freed by the grid; automatically set back to nil if the assigned image list is destroyed first (for example, removed from the form or freed at runtime), preventing a dangling reference on the next repaint.

This is separate from a graphic/BLOB field’s own image content (JPEG, PNG, Bitmap, Icon, GIF or Metafile) - see DetectBlobImages to also try a plain BLOB field), which is decoded straight from the field and needs no entry in Images. Either kind of image, when larger than the space available to it, shrinks to fit with its aspect ratio preserved rather than being skipped - including the corner cell image (see CornerImageIndex), which follows the same rule. Transparency is respected for every field-content format that carries it (PNG, GIF, Icon, and a 32-bit Bitmap with a genuine alpha channel); an ordinary opaque Bitmap (24-bit, or a 32-bit one whose alpha byte is unused) is unaffected. Images icons themselves are drawn the same transparent way, including when overlaid on a decoded field image - see ImageIndex.

See Also

(C) 2026 Easygate, Lda