Information générale
Catégorie:
Gestionnaire de rapports & Rapports
>when you do that it displays the window in the top level form. I may have another form on laying on the top level form and so it prints with the current window over the top of the report that is in the top level form. Currently I simply open another blank form and call the report command and it shows up in the blank form. But for some reason it only shows the top corner of the report. To see the rest of the report you have to adjust the size of the report which is fine, just a pain to have to mess with all the time.
Not quite sure what you mean by top level stuff etc, heres how I do it...
LOCAL loReportIntf
loReportIntf = CREATEOBECT( "PreviewIntf")
*-- set properties here... I get these from foxuser if applicable
*-- see one of my former threads on how to do this
WITH loReportIntf
.Left = 10
.Top = 10
.Width = _Screen.Width - 20
.Height = _Screen.Height - 20
.Caption = "My Report"
ENDWITH
REPORT FORM ( tcReport) PREVIEW WINDOW loReportIntf
loReportIntf = NULL
Précédent
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