ReportPro3 in X# initialization and deinitialization of report preview issues

This forum is the place to discuss issues related to ReportPro, Xs2Ado, Vo2Ado, bBrowser and other 3rd party products
FFF
Posts: 1532
Joined: Fri Sep 25, 2015 4:52 pm
Location: Germany

ReportPro3 in X# initialization and deinitialization of report preview issues

Post by FFF »

Didn't the installer start at the end the"Stackbuilder"? There it suggests 32 and 64 drivers...
Regards
Karl
(on Win8.1/64, Xide32 2.19, X#2.19.0.2.)
User avatar
Chris
Posts: 4584
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

ReportPro3 in X# initialization and deinitialization of report preview issues

Post by Chris »

Thanks a lot guys, got it to work now! And I see the issue with the report preview window freezing when there's an error, look into it...

.
Chris Pyrgas

XSharp Development Team test
chris(at)xsharp.eu
User avatar
Chris
Posts: 4584
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

ReportPro3 in X# initialization and deinitialization of report preview issues

Post by Chris »

Hi Michael,

Please try issuing this, when you detect an exception in RP3 when printing, does it solve the problem?

Code: Select all

IF SELF:_Report:Printer:PrintWindow != NULL
	CloseWindow(SELF:_Report:Printer:PrintWindow:Handle(0))
ENDIF

.
Chris Pyrgas

XSharp Development Team test
chris(at)xsharp.eu
User avatar
Michal Rajnoha
Posts: 22
Joined: Wed Sep 29, 2021 6:57 am

ReportPro3 in X# initialization and deinitialization of report preview issues

Post by Michal Rajnoha »

It minimizes the preview window, but it stays open and hanging.
User avatar
Chris
Posts: 4584
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

ReportPro3 in X# initialization and deinitialization of report preview issues

Post by Chris »

Michal Rajnoha wrote:It minimizes the preview window, but it stays open and hanging.
Ah right, I didn't notice it in the task bar. Please use DestroyWindow() instead, this seems to be taking care of it for good.

.
Chris Pyrgas

XSharp Development Team test
chris(at)xsharp.eu
User avatar
Michal Rajnoha
Posts: 22
Joined: Wed Sep 29, 2021 6:57 am

ReportPro3 in X# initialization and deinitialization of report preview issues

Post by Michal Rajnoha »

OK, that seems to work, thank you Chris.
User avatar
Chris
Posts: 4584
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

ReportPro3 in X# initialization and deinitialization of report preview issues

Post by Chris »

Hi Michael,

Nice, that's great to hear! I also learned a few things because of this..(thanks Karl and Frank btw)
Chris Pyrgas

XSharp Development Team test
chris(at)xsharp.eu
Post Reply