EasyReport

EasyReport

Postby acwoo1 » Fri Dec 02, 2011 3:29 am

Hi

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

Image

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
acwoo1
 
Posts: 161
Joined: Tue Nov 10, 2009 10:56 am

Re: EasyReport

Postby hua » 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
hua
 
Posts: 1050
Joined: Fri Oct 28, 2005 2:27 am

Re: EasyReport

Postby acwoo1 » Sat Dec 03, 2011 2: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
acwoo1
 
Posts: 161
Joined: Tue Nov 10, 2009 10:56 am

Re: EasyReport

Postby hua » Sat Dec 03, 2011 6: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
hua
 
Posts: 1050
Joined: Fri Oct 28, 2005 2:27 am

Re: EasyReport

Postby acwoo1 » Tue Dec 06, 2011 4: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
acwoo1
 
Posts: 161
Joined: Tue Nov 10, 2009 10:56 am

Re: EasyReport

Postby hua » Tue Dec 06, 2011 6: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
hua
 
Posts: 1050
Joined: Fri Oct 28, 2005 2:27 am

Re: EasyReport

Postby acwoo1 » Wed Dec 07, 2011 3: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
acwoo1
 
Posts: 161
Joined: Tue Nov 10, 2009 10:56 am

Re: EasyReport

Postby acwoo1 » Thu Dec 08, 2011 1: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
acwoo1
 
Posts: 161
Joined: Tue Nov 10, 2009 10:56 am


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot], Horizon and 44 guests