ItemSelectionChanged

Discussions about document viewing.
Post Reply
Edwin
Posts: 7
Joined: Thu Aug 18, 2011 5:44 pm

ItemSelectionChanged

Post by Edwin » Wed Sep 21, 2011 11:49 pm

Hello,
When using AddItemFromStream or AddItemFromFile, After clicking on a thumbnail, ItemSelectionChanged fires once, with Idx equal to the prior thumbnail and Selected = false, then again for the currently Selected thumbnail and selected = true.
If I use LoadFromDirectory, ItemSelectionChanged only fires for the prior selected thumbnail, with Selected = false, but never fires with the currently selected index, Selected = true.

Is this by design?

Thanks in advance,
Edwin

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: ItemSelectionChanged

Post by Loïc » Thu Sep 22, 2011 11:42 am

Hi Edwin,

Please cross-check. All is working fine for me.

Kind regards,

Loïc

Edwin
Posts: 7
Joined: Thu Aug 18, 2011 5:44 pm

Re: ItemSelectionChanged

Post by Edwin » Thu Sep 22, 2011 5:05 pm

Hello,
I put my code back to use that method and it is working, sorry for the confusion.
Thanks as always,
Ed

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests