Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Print Preview Doesn't Work!
Message
 
À
03/09/1999 15:34:14
Rich Lieblich
Infosys Technologies, Inc.
Fanwood, New Jersey, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00257606
Message ID:
00261335
Vues:
53
>Hi George,
>
>Looking much much better, but one last problem- here's the sequence of events- whaddya think...:
>
>1. click on "print preview" button on my app's main form.
>2. app window DISAPPEARS.... it's minimized on the task bar.
>3. right click on it; select Maximize.
>4. REPORT PREVIEW APPEARS FULL-SCREEN!! VOILA!!!
>5. close this window- my app's main form re-appears.
>
>soooo everything OK except for 3..... can't figure out why I need to maximize the task bar button to get the print preview to come up.... I use this code:
>
> oPreviewFrm=CreateObject("PreviewForm")
> release classlib ViewForm
> THISFORM.Visible=.F.
> report form "trade activity.frx" environment for record_id='1';
> noconsole preview in window (oPreviewFrm.Name)
> THISFORM.Visible=.T.
> _SCREEN.LEFT = -5000
>
>...and the generated class definition code for PreviewForm from the class browser is:
>
>**************************************************
>*-- Class: previewform (c:\primdata\viewform.vcx)
>*-- ParentClass: form
>*-- BaseClass: form
>*-- Time Stamp: 09/03/99 02:53:03 PM
>*
>DEFINE CLASS previewform AS form
> ScaleMode = 3
> Height = 581
> Width = 802
> Desktop = .F.
> ShowWindow = 2
> DoCreate = .T.
> AutoCenter = .T.
> Caption = ""
> TitleBar = 0
> WindowType = 0
> WindowState = 2
> AlwaysOnTop = .T.
> Name = "previewform"
>ENDDEFINE
>*
>*-- EndDefine: previewform
>**************************************************
>
>Thanks for any other suggestions; best regards..... Rich

Hi Rich,

Why are you messing around with the form's visible property? That could be what's doing it. I've never run into this, so this is a SWAG on my part.

Regards,
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform