Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Controls
  New Posts New Posts RSS Feed - ListView.ItemClick and multi select issue
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

ListView.ItemClick and multi select issue

 Post Reply Post Reply
Author
Message
ddragut View Drop Down
Groupie
Groupie
Avatar

Joined: 13 August 2008
Location: Ireland
Status: Offline
Points: 16
Post Options Post Options   Thanks (0) Thanks(0)   Quote ddragut Quote  Post ReplyReply Direct Link To This Post Topic: ListView.ItemClick and multi select issue
    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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 22 August 2008 at 3:24pm
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
Back to Top
ddragut View Drop Down
Groupie
Groupie
Avatar

Joined: 13 August 2008
Location: Ireland
Status: Offline
Points: 16
Post Options Post Options   Thanks (0) Thanks(0)   Quote ddragut Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.