Declarationfunction SelectSeek(pos: TIESeek): Boolean; overload;
function SelectSeek(const C: Char): Boolean; overload;
Moves the selection by the method specified by pos
. SelectSeek will scroll the view, where necessary, to ensure the newly selected image is visible.
The second overloads allow you to navigate to a file by specifying the first letter of its name.
- 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.
- SelectSeek cannot be used if DisplayMode
- The OnSelectionChanging
event will occur when using SelectSeek
Example// This code loads "film.avi" and selects the first image
// Select the first filename starting with "F"