![]() |
[solved] empty ReportRecordItemPreview |
Post Reply ![]() |
Author | |
sbinder ![]() Groupie ![]() ![]() Joined: 22 November 2004 Location: Austria Status: Offline Points: 76 |
![]() ![]() ![]() ![]() ![]() Posted: 07 June 2018 at 7:08am |
The Preview-Modus in ReportControl does not work since 18.4.0!
See ReportSample |
|
![]() |
|
olebed ![]() Admin Group ![]() Joined: 01 July 2014 Location: Ukraine Status: Offline Points: 841 |
![]() ![]() ![]() ![]() ![]() |
Hello,
Please describe your environment, library configuration (Unicode, Static, Dynamic, x86, x64, ...) Regards, Oleksandr Lebed |
|
![]() |
|
sbinder ![]() Groupie ![]() ![]() Joined: 22 November 2004 Location: Austria Status: Offline Points: 76 |
![]() ![]() ![]() ![]() ![]() |
Dynamic x86
|
|
![]() |
|
olebed ![]() Admin Group ![]() Joined: 01 July 2014 Location: Ukraine Status: Offline Points: 841 |
![]() ![]() ![]() ![]() ![]() |
Hello,
Sorry I have confused ReportRecordItemPreview with PrintPreview where we have made some improvements. So I found reason of empty ReportRecordItemPreview. Bug in method CXTPReportRecordItemPreview::OnDrawCaption() and the same copy-past bug in GetCaptionRect() method
Oleksandr Lebed |
|
![]() |
|
Muckl ![]() Newbie ![]() ![]() Joined: 23 July 2018 Status: Offline Points: 6 |
![]() ![]() ![]() ![]() ![]() |
I have the same problem with ActiveX. Is there also any solution?
|
|
![]() |
|
olebed ![]() Admin Group ![]() Joined: 01 July 2014 Location: Ukraine Status: Offline Points: 841 |
![]() ![]() ![]() ![]() ![]() |
Hello Muckl,
This can be solved only by changing c++ core. Codejock has SuitePro with source code bundle, ask in sales. Also you can use previos version of ReportControl. Regards, Oleksandr Lebed |
|
![]() |
|
docontrol ![]() Groupie ![]() Joined: 07 December 2009 Location: Denmark Status: Offline Points: 35 |
![]() ![]() ![]() ![]() ![]() |
I had the same problem today and struggled to find out why. It wasn't until I found this post that I realized that there is a bug in v18.4.0 of the toolkit.
However I managed to workaround the problem by inheriting from CXTPReportRecordItemPreview and overriding the OnDrawCaption method.
|
|
![]() |
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 |