Print Page | Close Window

ListView.ItemClick and multi select issue

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Controls
Forum Description: Topics Related to Codejock Controls
URL: http://forum.codejock.com/forum_posts.asp?TID=11930
Printed Date: 22 November 2024 at 1:01am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: ListView.ItemClick and multi select issue
Posted By: ddragut
Subject: ListView.ItemClick and multi select issue
Date 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



Replies:
Posted By: Oleg
Date Posted: 22 August 2008 at 3:24pm
Thanks, agree. Will be fixed for 12.1 release.
Please dublicate it for mailto:support@codejock.com - support@codejock.com
we will send fixed ocx to test.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: ddragut
Date Posted: 25 August 2008 at 12:16pm
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



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net