![]() |
HOWTO: Use my own CXTPReportRecords derived class |
Post Reply
|
| Author | |
mgampi
Senior Member
Joined: 14 July 2003 Status: Offline Points: 1210 |
Post Options
Thanks(0)
Quote Reply
Topic: HOWTO: Use my own CXTPReportRecords derived classPosted: 03 May 2013 at 4:35am |
|
Hi;
I have to change the sorting algorithm used for all text items in any report control of my application. So I checked the code and found out that best would be to overwrite the virtual CXTPReportRecords::Compare() function. But I can't find any way to use my own CXTPReportRecords collection like in CreateGroupRow()... What is the meaning of virtual functions when I can't derive? All I want to achieve is, that the control should use locale setting when comparing strings! I don't want to derive any item class - thats too boring. Any help or hint is very welcome. |
|
|
Martin Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0 Platform: Windows 10 v 22H2 (64bit) Language: VC++ 2022 |
|
![]() |
|
mgampi
Senior Member
Joined: 14 July 2003 Status: Offline Points: 1210 |
Post Options
Thanks(0)
Quote Reply
Posted: 29 May 2017 at 3:03pm |
|
Still not solved!?!
|
|
|
Martin Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0 Platform: Windows 10 v 22H2 (64bit) Language: VC++ 2022 |
|
![]() |
|
mgampi
Senior Member
Joined: 14 July 2003 Status: Offline Points: 1210 |
Post Options
Thanks(0)
Quote Reply
Posted: 26 February 2019 at 7:38am |
|
Hi; Any news regarding my question? Can I solve it with 18.6 or higher?
|
|
|
Martin Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0 Platform: Windows 10 v 22H2 (64bit) Language: VC++ 2022 |
|
![]() |
|
BobC
Groupie
Joined: 28 April 2017 Location: Longmont, CO Status: Offline Points: 55 |
Post Options
Thanks(0)
Quote Reply
Posted: 27 February 2019 at 11:20am |
|
I have been using CXTPReportControl::SetRowsCompareFunc() to do my row comparisons, with code like this for locale use:
Does that meet your needs, or have I misunderstood your question? |
|
![]() |
|
mgampi
Senior Member
Joined: 14 July 2003 Status: Offline Points: 1210 |
Post Options
Thanks(0)
Quote Reply
Posted: 27 February 2019 at 12:17pm |
|
I'll check this...
|
|
|
Martin Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0 Platform: Windows 10 v 22H2 (64bit) Language: VC++ 2022 |
|
![]() |
|
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 |