(bug?)CXTPReportControl::GetSelectedRows() |
Post Reply |
Author | |
Tracy
Newbie Joined: 21 October 2009 Status: Offline Points: 3 |
Post Options
Thanks(0)
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?
|
|
mdoubson
Senior Member Joined: 17 November 2008 Status: Offline Points: 1705 |
Post Options
Thanks(0)
|
Just get coming 13.2
|
|
Tracy
Newbie Joined: 21 October 2009 Status: Offline Points: 3 |
Post Options
Thanks(0)
|
Hi;
Are there some other ways to resolve this problem? Changing to 13.2 is a big project.
Thank you.
|
|
mdoubson
Senior Member Joined: 17 November 2008 Status: Offline Points: 1705 |
Post Options
Thanks(0)
|
No - sorry
|
|
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 |