OnGraphicError

Class: TEgDBGridEx

property OnGraphicError: TEgDBGridGraphicErrorEvent;

Fired when a true ftGraphic field’s content cannot be decoded as any of the supported image formats (JPEG, PNG, Bitmap, Icon, GIF or Metafile). Does not fire for a plain BLOB field opted in via DetectBlobImages: most BLOBs are simply not images, which is an expected outcome for such a column, not a malfunction, so a failed decode there stays silent and the cell falls back to the field’s own display text. The cell is left blank either way for a true ftGraphic field; this event only reports the failure. Msg holds a short, non-localized reason. Also available at column level (see TEgColumn.OnGraphicError); when both are assigned, the grid-level handler runs first. See TEgDBGridGraphicErrorEvent.

See Also

(C) 2026 Easygate, Lda