Print Page | Close Window

(bug?)CXTPReportControl::GetSelectedRows()

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=15407
Printed Date: 21 November 2024 at 11:41am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: (bug?)CXTPReportControl::GetSelectedRows()
Posted By: Tracy
Subject: (bug?)CXTPReportControl::GetSelectedRows()
Date Posted: 21 October 2009 at 4:57am
HI;
 
I used CXTPReportControl::GetSelectedRows() to get the rows that selected. But if I selected rows with 'shift'  + LButtondown, the rows I read form GetSelectedRows() is wrong.
 
CXTPReportControl &wndReport = GetReportCtrl();
CXTPReportSelectedRows *pSelectedRows = wndReport.GetSelectedRows();
int count = pSelectedRows->GetCount();
 
For example, I selected the 5th line first, then I selected 10th line with  'shift'  + LButtondown, then count = 7, not 6.
And if I go on selecting with 'shift'  + LButtondown, count all wrong.
What happened, and what can I do? 



Replies:
Posted By: mdoubson
Date Posted: 21 October 2009 at 3:08pm
Just get coming 13.2

-------------
Mark Doubson, Ph.D.


Posted By: Tracy
Date Posted: 21 October 2009 at 10:54pm
Hi;
 
Are there some other ways to resolve this problem? Changing to 13.2 is a big project.
 
Thank you.


Posted By: mdoubson
Date Posted: 22 October 2009 at 8:54pm
No - sorry

-------------
Mark Doubson, Ph.D.



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