ImageEn, unit iemview

TImageEnMView.OnImageSelect

TImageEnMView.OnImageSelect


Declaration

property OnImageSelect: TIEImageSelectEvent;


Description

Occurs whenever an image is selected by the user.

Note: This event does not occur for programmatic selection changes (i.e. changes by code)


Example

// Show the selected image in a TImageEnView
procedure TMainForm.ImageEnMView1ImageSelect(Sender: TObject; idx: Integer);
begin
  ImageEnMView1.CopyToIEBitmap( idx, ImageEnView1.IEBitmap );
  ImageEnView1.Update();
end;