FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour EasyReport
Posts: 175
Joined: Tue Nov 10, 2009 10:56 AM
EasyReport
Posted: Fri Dec 02, 2011 03:29 AM
Hi

After printing my EasyReport, the dialog box retain an image of the report after I close the report:



The previous report can be seen clearly at the bottom part of the dialog box.
How to get rid of this old image.

Please help

Regards
ACWoo
Posts: 1096
Joined: Fri Oct 28, 2005 02:27 AM
Re: EasyReport
Posted: Fri Dec 02, 2011 10:01 AM

Try checking your dialogue box resource and uncheck any clip children, clip siblings attribute

FWH 11.08/FWH 19.12

BCC5.82/BCC7.3

xHarbour/Harbour
Posts: 175
Joined: Tue Nov 10, 2009 10:56 AM
Re: EasyReport
Posted: Sat Dec 03, 2011 02:22 AM

Thanks For Your Help

I use:

DEFINE DIALOG oDlg FROM 0, 0 TO 26, 79 ;
TITLE "General Ledger Account Maintenance (" + stcompany + ")";
GRADIENT { { 1, nRGB( 199, 216, 237 ), nRGB( 237, 242, 248 ) } }
If I use:

DEFINE DIALOG oDlg FROM 0, 0 TO 26, 79 ;
TITLE "General Ledger Account Maintenance (" + stcompany + ")"

Then it is OK after I printed and close the EasyReport.

Please help

Regards

ACWoo

Posts: 1096
Joined: Fri Oct 28, 2005 02:27 AM
Re: EasyReport
Posted: Sat Dec 03, 2011 06:56 PM

Try disabling SkinButtons() for now. Apart from that I don't have any more idea. Sorry Woo :(

FWH 11.08/FWH 19.12

BCC5.82/BCC7.3

xHarbour/Harbour
Posts: 175
Joined: Tue Nov 10, 2009 10:56 AM
Re: EasyReport
Posted: Tue Dec 06, 2011 04:22 AM

Thanks For Your Help

I tried disable skinbuttons().
It's still the same. After I printed and close the EAsyReport a few times, the report image will appear in the dialog box.

Thanks

Regards

ACWoo

Posts: 1096
Joined: Fri Oct 28, 2005 02:27 AM
Re: EasyReport
Posted: Tue Dec 06, 2011 06:26 AM

Woo, I can only think of 2 more options for you to try.

i. Try without using GRADIENT clause.

ii. Should that still fail, then try with dialog from resources instead of programmatically creating it.

FWH 11.08/FWH 19.12

BCC5.82/BCC7.3

xHarbour/Harbour
Posts: 175
Joined: Tue Nov 10, 2009 10:56 AM
Re: EasyReport
Posted: Wed Dec 07, 2011 03:35 AM

Thanks For Your Help

Without the gradient it's OK.
With the gradient, I get the image of the report on the dialog box after I close the report. The image only occurs after I print and close the same EasyReport a few times. It usually does not happen if I only print and close the report only once.

Thanks

Regards

Eddy

Posts: 175
Joined: Tue Nov 10, 2009 10:56 AM
Re: EasyReport
Posted: Thu Dec 08, 2011 01:56 AM

Hi

To overcome the problem of the printed EasyReport report image in the dialog box, I
found something like this:

wtela01 = SaveScreen(02,01,21,79)
@ 9.95, 36.5 BUTTON "&Print" OF oDlg ;
ACTION prnchart(cDirect1,RestScreen(02,01,21,79,wtela01)) SIZE 40, 12

How do I convert the savescreen so that it can be used in this case?

Regards

Thanks

Eddy
Using FWH1111+bcc582

Continue the discussion