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.
Note:
◼SelectSeek and Seek are similar and can often achieve the same task.
SelectSeek is used to handle movement within the control and select frames appropriate. Seek is used just to display a specific frame.
◼The
OnSelectionChanging event will occur when using Seek (Result will be -1 if cancelled)
| Demos\Multi\MViewPreview\MViewPreview.dpr |
// Display a single image
ImageEnMView1.DisplayMode := mdSingle;
..
// Advance to the next image
ImageEnMView1.Seek(ieioSeekNext);