This event is generated when the mouse is moved over a thumbnail image in the Thumbnail Control.
Parameters
Name | Explanation |
---|---|
PathName | The directory name and path of the image that was moved over with the mouse |
FileName | The file name of the image that was moved over with the mouse |
ImageNumber | The sequential number of the thumbnail image |
MaxImage | The total number of images to be loaded into the Thumbnail Control |
Left | The position, in pixels, of the left side of the thumbnail frame that was moved over with the mouse. (This is the x coordinate of the top left corner of the thumbnail frame) |
Top | The position, in pixels, of the top of the thumbnail frame that was moved over with the mouse. (This is the y coordinate of the top left corner of the thumbnail frame) |
Right | The position, in pixels, of the left side of the thumbnail frame that was moved over with the mouse. (This is the x coordinate of the bottom right corner of the thumbnail frame) |
Bottom | The position, in pixels, of the left side of the thumbnail frame that was moved over with the mouse. (This is the y coordinate of the bottom right corner of the thumbnail frame) |
Explanation
The MouseMoveOnThumb event is generated when the mouse is moved over a thumbnail image in the Thumbnail Control. To enable this event the EnableMouseMoveButton property must be set to True. If the thumbnail image is not displayed on the thumbnail control then this event is not generated. When the thumbnail image isn't displayed into the thumbnail frame that was moved over with the mouse, the PathName and FileName parameters will return empty string.
When multi-page image files are loaded, the page number is appended to the FileName parameter (If the page number is 0 then it is omitted).
Example: When page 2 of the file ABC.TIF is loaded into the thumbnail control, the FileName parameter will return the string "ABC.TIF 2"