You may try a third party grid like TJfDBGrid of JfControls at
www.jfactivesoft.com. But if ypu want to do this by your own:
- Load the Blob field into a TMemoryStream.
- Use the VCL TIMage and draw it inside the cell. There is an OnDrawCell
event or something like that. The image will appear small.
- Use any mouse event to catch a click, and show another TImage. Use the
memory stream to do that.
Anyway, if you are a newbie, I advice you to use a third party solution like
Post by Sugiharto
I have some BLOB fields in my database. When I display them in a DBGrid,
they showed as MEMO instead of their real value (text/graphic).
Is it possible to show BLOB fields value in DBGrid?