Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Preview with ReportListener
Message
De
08/07/2005 19:18:53
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Preview with ReportListener
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01030818
Message ID:
01030818
Vues:
66
I did some Previews and found that the Caption for the preview window not only has the caption a put on it but it adds the name of the report too, which I don't like, I don't want my customers to see that.

The code is this

******************
PARAMETERS oReportListener

* oVP - creo y seteo el objeto Preview
oVP = NULL
DO (_REPORTPREVIEW) with oVP

* set initial properties of the preview window:
oVP.caption = THIS.cNombreVentana

* dimensiona la ventana de preview
THIS.hw(oVP)

* Assign our Preview container to the listener:
oReportListener.PreviewContainer = oVP

REPORT FORM (THIS.cNombreReport) OBJECT oReportListener
**********************
and the preview window ends up with a caption like this:

"My caption " + " - " + "MyReportsName"

Is there a way to have only my caption, and not the ReportsName?
Thanks
Hernan
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform