ImageEn, unit iemview

TImageEnMView.Seek

TImageEnMView.Seek


Declaration


function Seek(Page : TIEIOSeekDestination) : integer;


Description


When DisplayMode is mdSingle then Seek sets VisibleFrame to display the first/previous/next/last image.

Otherwise it sets SelectedImage to move the selection to the first/previous/next/last image.

Returns the new page index.


Demo


  Demos\Multi\MViewPreview\MViewPreview.dpr



Example


// Display a single image
ImageEnMView1.DisplayMode := mdSingle;
..
// Advance to the next image
ImageEnMView1.IO.Seek(ieioSeekNext);