The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



FirstThumbIdx


Unit:SDL_thumbnails
Class: TThumbnails
Declaration: property FirstThumbIdx: double;

The property FirstThumbIdx has two functions: while the integer part controls which slide is displayed at the top left of the thumbnail panel, the decimal fraction determines the vertical fractional shift of the entire slide arrangement.

Hint: Please note that the slides are always arranged in a way that slides do no change columns (in the case of multiple columns of thumbnail images) when scrolling through a slide collection, i.e. the number of horizontal slides (property NumSlidesHoriz) is automatically taken into account. This feature allows to scroll smoothly through a thumbnail collection, simply by assigning a fraction of the current scrollbar position to the property FirstThumbIdx.

Example: This property is used in the following example programs (see http://www.lohninger.com/examples.html for downloading the code): slides, jpg_browser



Last Update: 2023-Dec-13