ImageEn, unit iemview

TImageEnMView.OnPlayFrame

TImageEnMView.OnPlayFrame


Declaration

property OnPlayFrame: TIEPlayFrameEvent;


Description

Occurs whenever a frame is displayed. You can set ShowFrame 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; Index: integer; var ShowFrame: Boolean);
begin
  if iemFileList.Checked[FrameIndex] = False then
    ShowFrame := False;
end;