ImageEn, unit iemview

TImageEnMView.OnPlayFrame

TImageEnMView.OnPlayFrame


Declaration


property OnPlayFrame: TIEPlayFrameEvent;


Description


Occurs whenever a frame is displayed. You can set bShowFrame to False to skip playback of specific frames.

See also: Playing.


Example


// We have two TImageEnMViews showing the same set of images: iemFileList shows thumbnails of all images. iemDisplay shows a slideshow. A button displays a slideshow of all checked images in iemFileList
procedure TMainForm.iemDisplayPlayFrame(Sender: TObject; FrameIndex: integer; var bShowFrame: Boolean);
begin
  if iemFileList.Checked[FrameIndex] = False then
    bShowFrame := False;
end;