ImageEn, unit iemview

TIEImageIDRequestEvent

TIEImageIDRequestEvent


Declaration


type TIEImageIDRequestEvent = procedure(Sender: TObject; Index, ID: integer; var Bitmap: TBitmap) of object;


Description


Occurs when an image is required if you have specified a value for the ImageID property.

Index is the index of the image being displayed (i.e. 0 for first image in the grid, 1 for second, etc.)
ID is the value you have specified in ImageID property.
Bitmap is the image to display. The bitmap is copied in TImageEnMView, and then automatically freed.