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
Try checking your dialogue box resource and uncheck any clip children, clip siblings attribute
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
Try disabling SkinButtons() for now. Apart from that I don't have any more idea. Sorry Woo ![]()
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
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.
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
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