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....


Class: TThumbnails
Declaration: function CalcSlideIndex (XPos, YPos: integer): integer;

The function CalcSlideIndex calculates the index of the slide at the position [XPos, YPos]. The specification of the position is in pixels relative to the top left corner of the control. If the position is outside of a visible slide the function returns a zero value.

Last Update: 2012-Okt-20