Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Render reprint image in every page
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Render reprint image in every page
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01087907
Message ID:
01087907
Vues:
65
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
----------------------------------------
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform