ListView.ItemClick and multi select issue |
Post Reply |
Author | |
ddragut
Groupie Joined: 13 August 2008 Location: Ireland Status: Offline Points: 16 |
Post Options
Thanks(0)
Posted: 22 August 2008 at 10:52am |
In a multiselect ListView, I need to count the number of selected entries to do additional work with various buttons. Since SelectedItem property only returns the first item in the selection, I have to loop through the ListItems collection and check the Select attribute (some
SelectedItems collection would be nice )
Starting with no selection, I select say items 1 and 2 which works fine, the logic will return that there are 2 selected items, then I simply click one of the items already selected (no CTRL or anything, I want a selection of a single item) but now the logic will return that there are still 2 items selected! To me this would seem like ItemClick is firing before the other items are marked correctly as deselected?!
If i do the same, but instead I click an item no 3 that wasn't previously selected, the logic returns correctly that there is only one item selected, so it seems there is an issue when trying to select a single item already selected.
I hope it makes sense.
|
|
Product: Codejock Xtreme SuitePro (ActiveX) version 12.1.1
OS: Windows XP Pro (32 bit) SP3 Language: PROGRESS 4GL - OpenEdge 10.1C |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Thanks, agree. Will be fixed for 12.1 release.
Please dublicate it for support@codejock.com
we will send fixed ocx to test.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
ddragut
Groupie Joined: 13 August 2008 Location: Ireland Status: Offline Points: 16 |
Post Options
Thanks(0)
|
Hi Oleg,
I've sent a sample project sample with some steps to the support email address. Waiting for the OCX to test.
Thanks,
Dan
|
|
Product: Codejock Xtreme SuitePro (ActiveX) version 12.1.1
OS: Windows XP Pro (32 bit) SP3 Language: PROGRESS 4GL - OpenEdge 10.1C |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions 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 |