|  | 
| [solved] empty ReportRecordItemPreview | 
| Post Reply   | 
| Author | |
| sbinder   Groupie     Joined: 22 November 2004 Location: Austria Status: Offline Points: 76 |  Post Options  Thanks(1)  Quote  Reply  Topic: [solved] empty ReportRecordItemPreview Posted: 07 June 2018 at 7:08am | 
| The Preview-Modus in ReportControl does not work since 18.4.0!
 See ReportSample | |
|  | |
| olebed   Senior Member   Joined: 01 July 2014 Location: Ukraine Status: Offline Points: 841 |  Post Options  Thanks(0)  Quote  Reply  Posted: 07 June 2018 at 10:13am | 
| 
   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 |  Post Options  Thanks(0)  Quote  Reply  Posted: 08 June 2018 at 7:10am | 
| 
    Dynamic x86
    | |
|  | |
| olebed   Senior Member   Joined: 01 July 2014 Location: Ukraine Status: Offline Points: 841 |  Post Options  Thanks(0)  Quote  Reply  Posted: 10 June 2018 at 6:19am | 
| 
   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: 9 |  Post Options  Thanks(0)  Quote  Reply  Posted: 23 July 2018 at 11:54am | 
| 
   I have the same problem with ActiveX. Is there also any solution? | |
|  | |
| olebed   Senior Member   Joined: 01 July 2014 Location: Ukraine Status: Offline Points: 841 |  Post Options  Thanks(0)  Quote  Reply  Posted: 23 July 2018 at 4:44pm | 
| 
   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 |  Post Options  Thanks(0)  Quote  Reply  Posted: 25 July 2018 at 4:32pm | 
| 
   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 |