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



TImageClickEvent


Unit:SDL_thumbnails
Class: TThumbnails
Declaration: TImageClickEvent = procedure (Sender: TObject; X, Y: integer; ThumbID: integer) of object;

The type declaration TImageClickEvent defines the event which occurs when the user clicks (or double-clicks) the TThumbnails component. The parameter Sender specifies the object which sent the event. The parameters X and Y contain the pixel coordinates where the component has been clicked at, and the parameter ThumbID contains the index of the slide which is at the position [X,Y]. ThumbID is zero if the user clicked at the background of the TThumbnails component.


Last Update: 2012-Oct-20