Information générale
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Preview with ReportListener
Versions des environnements
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement