How To…Use the OnGetPictureEvent

Question

“How can I use the DBImage.OnGetPicture event to conditionally display a default image? For example, some records in my dataset have any empty image field.”

Solution

The following examples uses the DBImage.OnGetPicture event to conditionally display a default image.

Download: UseDBImageOnGetPictureEvent.zip

Delphi code sample: