Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Label preview
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Divers
Thread ID:
00367396
Message ID:
00367666
Vues:
15
Hi Bret Hobbs.
Will this work with Labels also? You reason for creating preview window is exactly same as mine, but I can't get mine to work with LABELS.

I'll give you code a try.

Thank You Bret.

>I have this code in a method on by forms called sendreporttopreview it sends a report to preview window I define, I needed this because I wanted to control >the close buttons when the report is being previewed and I wanted all report previews to be maximized.


>LPARAMETERS tcReportName, tcReportTitle

>LOCAL loForm
>_SCREEN.CONTROLBOX = .F.
>loForm = CREATEOBJECT("Form")
>WITH loForm
> .WINDOWSTATE = 1
> .CAPTION = tcReportTitle
> .MINBUTTON = .F.
> .MAXBUTTON = .T.
> .CLOSABLE = .T.
> .MOVABLE = .T.
> .HALFHEIGHTCAPTION = .T.
> .BORDERSTYLE = 3
> .SCROLLBARS = 3
> .BACKCOLOR = RGB(255,255,255)
>ENDWITH
>lcFormName = loForm.Name
>KEYBOARD '{CTRL+F10}'
>REPORT FORM &tcReportName PREV WINDOW &lcFormName
>_SCREEN.CONTROLBOX = .T.
HI-YO SILVER AWAY!!
The Lone Ranger, The late Clayton Moore R.I.P.
I am a fool!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform