ShowImageOverGraphic

Class: TEgDBGridEx

property ShowImageOverGraphic: Boolean default False;

Whether a column’s data-cell ImageIndex icon (not the field’s own graphic/BLOB content) is drawn as an overlay on top of that content once it decodes into a real image.

False (the default) fully suppresses the icon whenever the field’s own content actually decodes and draws as an image - the icon only shows for the fallback case (field Null, or content that failed to decode), same as any other column kind. True draws the icon as an overlay on top of the decoded image instead, at its normal ImageAlignment/horizontal and CellVAlign/vertical position - there is no automatic placement adjustment to keep the two apart, so the icon may overlap the image when both are shown. This property is a plain opt-in, not a collision-avoidance mechanism; if the icon and the image would occupy the same space, arrange it so they don’t (for example, via ImageAlignment), or leave this property False.

Only meaningful for a graphic/BLOB column (IsGraphic - a true ftGraphic field, or an ftBlob field with DetectBlobImages enabled) that actually decodes an image; every other column kind, and the fallback case above, are unaffected either way. OnCellImageClick fires correctly for a click on the overlay icon when this property is True, same as for the fallback icon.

Overridable per column - see TEgColumn.ShowImageOverGraphic.

See Also

(C) 2026 Easygate, Lda