Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Preview Screen Size
Message
De
21/05/1998 17:57:17
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00100888
Message ID:
00100995
Vues:
30
>>I don't use a resource file for my application. The only thing I'm having a problem with is previewing reports. The preview screen always comes up half sized. I would like it to always come up maximized. The only way I can seem to accomplish this is to enable the resource file and maximize the preview myself. Then each subsequent preview is maximized. As soon as I turn off the resource file its back to half sized every time. Is there any way to control this? Any feedback is most appreciated.
>>Thanks in advance,
>>Marcus.
>
>Marcus,
>
>I haven't tested this, so I'm not 100% sure it will work, but my guess is that it will. First, load the foxtools library, then after the REPORT FORM...PREVIEW command is issued add the NOWAIT clause. Immediately following that, try this:
>lnwhandle = _WOnTop()
>= _WZoom(lnwhandle, 0)
>This should cause the preview window to be maximized.
>
>hth,

Would this work for you??:

KEYBOARD "{Ctrl+F10}"
REPORT FORM (tcRptname) PREVIEW &&NOWAIT
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform