Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Wednesday, December 24, 2008 5:51:27 AM(UTC)
MRTrevorF

Groups: Registered
Posts: 7


Is there a way to identify what image was last selected by the user? The SelectedIndexChanged will raise the necessary event, but I can only see the "SelectedItems" list as an attribute to evaluate within the event.

As an example, there are 40 pictures displayed. The user has already selected Picture 1 and Picture 40. He then selects Picture 20.

The SelectedIndexChanged event is fired, but I have no way of knowing which picture (1, 20 or 40) was selected this time.
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Friday, January 2, 2009 3:49:48 AM(UTC)

GregR  
GregR

Groups: Registered, Tech Support, Administrators
Posts: 764


There is not any property that contains this information since it is possible to select multiple items.  You would need to keep track of which items were previously selected before the selection changed and then by comparison you can deduce which item was just selected.
 
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.046 seconds.