Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Render reprint image in every page
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Render reprint image in every page
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01087907
Message ID:
01087907
Views:
66
I have overridden the _reportlistener class in order to print small images for a condition that exist in a user comment at a rectangle control at report. Everything works ok but when the detail band overflow to next page the images that must be printed at the second page are reprinted at the first page too.

Thanks for any help.

P.S.
The code for the Render method is :
LPARAMETERS nfrxrecno, nleft, ntop, nwidth, nheight, nobjectcontinuationtype, ccontentstoberendered, gdiplusimage
THIS.pprinted = .T.
LOCAL cuserdata , cdatatorender
cuserdata = THIS.areport[nfrxrecno,_frx_COMMENT]
cdatatorender = ccontentstoberendered
IF ! EMPTY(cuserdata)
cdatatorender =THIS.creategdiobject(nfrxrecno,;
nleft,ntop,nwidth,nheight,;
nobjectcontinuationtype , ;
ccontentstoberendered, gdiplusimage,cuserdata)
ELSE
DODEFAULT(nfrxrecno,;
nleft,ntop,nwidth,nheight,;
nobjectcontinuationtype, ;
cdatatorender, gdiplusimage)
ENDIF
----------------------------------------
Nikos Kiriakoulakos
Software Engineer
Dep. of Medical Informatics
Apollo Ltd.
Greece
----------------------------------------
Next
Reply
Map
View

Click here to load this message in the networking platform