Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - [SOLVED] v15.1.1 GroupRow creation
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

[SOLVED] v15.1.1 GroupRow creation

 Post Reply Post Reply
Author
Message
xcentric View Drop Down
Groupie
Groupie


Joined: 04 September 2008
Status: Offline
Points: 41
Post Options Post Options   Thanks (0) Thanks(0)   Quote xcentric Quote  Post ReplyReply Direct Link To This Post Topic: [SOLVED] v15.1.1 GroupRow creation
    Posted: 26 July 2011 at 9:58pm
Starting from 15.1.1 Report Control does not create Group rows through the special method

virtual CXTPReportGroupRow* CreateGroupRow()

but creates it directly via

new CXTPReportGroupRow_Batch()


As result there is no way to override the GroupRow virtual methods.


Back to Top
Marco1 View Drop Down
Senior Member
Senior Member


Joined: 16 January 2004
Location: Germany
Status: Offline
Points: 251
Post Options Post Options   Thanks (0) Thanks(0)   Quote Marco1 Quote  Post ReplyReply Direct Link To This Post Posted: 27 July 2011 at 6:20am
You are right! With 15.1.1 I encountered exactly the same problem. I needed my own CXTPReportGroupRow for special tooltip handling.

Currently with 15.1.1 I didn't find a workaround and therefore disabled tooltips.

Back to Top
xcentric View Drop Down
Groupie
Groupie


Joined: 04 September 2008
Status: Offline
Points: 41
Post Options Post Options   Thanks (0) Thanks(0)   Quote xcentric Quote  Post ReplyReply Direct Link To This Post Posted: 27 July 2011 at 9:26am
The same story with virtual CXTPReportRow* CreateRow()
15.1.1 creates rows directly through new CXTPReportRow_Batch();

Back to Top
ABuenger View Drop Down
Newbie
Newbie
Avatar

Joined: 02 February 2006
Status: Offline
Points: 1075
Post Options Post Options   Thanks (0) Thanks(0)   Quote ABuenger Quote  Post ReplyReply Direct Link To This Post Posted: 27 July 2011 at 11:07am
Hi,

this has already been reported and fixed for 15.1.2.

Andre

Codejock support
Back to Top
Marco1 View Drop Down
Senior Member
Senior Member


Joined: 16 January 2004
Location: Germany
Status: Offline
Points: 251
Post Options Post Options   Thanks (0) Thanks(0)   Quote Marco1 Quote  Post ReplyReply Direct Link To This Post Posted: 27 July 2011 at 12:24pm
Andre, is it possible (for customers) to get 15.1.2 beta ReportControl sources which have fixed the bugs - or is 15.1.2 just on the way to be released shortly?

Thanx, Marco

Back to Top
ABuenger View Drop Down
Newbie
Newbie
Avatar

Joined: 02 February 2006
Status: Offline
Points: 1075
Post Options Post Options   Thanks (0) Thanks(0)   Quote ABuenger Quote  Post ReplyReply Direct Link To This Post Posted: 28 July 2011 at 12:47pm
You can modify the following lines of XTPReportSection.cpp:

Line 167: CXTPReportRow *pRow = m_pControl->CreateRow(); // new CXTPReportRow_Batch();
Line 212: CXTPReportGroupRow *pGroup = m_pControl->CreateGroupRow(); // new CXTPReportGroupRow_Batch();
Line 546: CXTPReportRow *pRow = m_pControl->CreateRow(); // new CXTPReportRow_Batch();

Codejock support
Back to Top
Marco1 View Drop Down
Senior Member
Senior Member


Joined: 16 January 2004
Location: Germany
Status: Offline
Points: 251
Post Options Post Options   Thanks (0) Thanks(0)   Quote Marco1 Quote  Post ReplyReply Direct Link To This Post Posted: 28 July 2011 at 3:51pm
Thanx, Andre. Meanwhile I did something similar myself.
But actually I had this topic on my mind while asking for the fixed sources, cause this is an issue I don't want to "reinvent"...
Back to Top
Marco1 View Drop Down
Senior Member
Senior Member


Joined: 16 January 2004
Location: Germany
Status: Offline
Points: 251
Post Options Post Options   Thanks (0) Thanks(0)   Quote Marco1 Quote  Post ReplyReply Direct Link To This Post Posted: 03 August 2011 at 11:07am
Fixed in 15.1.2
Please set this topic to [SOLVED]

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.188 seconds.