LEADTOOLS Support
Imaging
Imaging SDK Questions
Identify most recently selected item in RasterImageList (WinForms)
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Wednesday, December 24, 2008 5:51:27 AM(UTC)
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.
#2
Posted
:
Friday, January 2, 2009 3:49:48 AM(UTC)
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.
LEADTOOLS Support
Imaging
Imaging SDK Questions
Identify most recently selected item in RasterImageList (WinForms)
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.