This example demonstrates how to display the source page of a selected thumbnail added to the Thumbnail control while manual mode is active.
Private Sub ImgThumbnail1_Click(ByVal ThumbNumber As Long)
On Error GoTo Click_Error
'Get the source and page # of the selected thumb (0-based index)
iSrcPage = ImgThumbnail1.GetManualThumbPage(ThumbNumber - 1)
strSrcFile = ImgThumbnail1.GetManualThumbFilename(ThumbNumber - 1)
'Display the source of the specified manual thumbnail in ImgEdit control.
ImgEdit1.Image = strSrcFile
ImgEdit1.Page = iSrcPage
ImgEdit1.Display
Exit Sub
Click_Error:
Exit Sub
End Sub