Page 1 of 1

Programmatically SELECT a thumbnail image

Posted: Mon Sep 19, 2011 9:15 pm
by davidng
Hi everyone,

Is it possible to programmatically select a thumbnail image from a thumbnail viewer?

For example, To select a 3rd image in a thumbnail viewer, is there something similar like this:

ThumbnailViewer1.Images[2].Selected = True

Thank you.

Re: Programmatically SELECT a thumbnail image

Posted: Tue Sep 20, 2011 8:59 am
by Alex
Hello David,

Yes, this is possible - you need to use the FocusedIndex property of the ThumbnailViewer (ImageViewerBase) class.

Best regards, Alexander