Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Controlling Previews.
Message
De
26/06/1997 10:29:37
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00037754
Message ID:
00037822
Vues:
43
>>Please save my sanity. There must be a way to control the properties of the preview window like you would a form, right? I like to prevent users from minimizing the preview screen, because as far as I can tell there is no way to bring it back. I would also like to change the dialog caption at the top of the report. Having 'patstat.frx' listed at the top of the preview does my users no good, and in fact can tend to confuse them. I would rather have the proper title of the report appear in this area. Any suggestions are greatly appreciated. Thanks for your time.
>>Marcus.
>
>Marcus,
>
>As the situation is today, I'm afraid you are looking for things that are not there.
>
>Marc

Heh heh...actually, there is :)

Before issuing your REPORT FORM command, issue a DEFINE WINDOW statement and give the window the attributes you want. You can also treat this defined window as an Form object by referencing it by name. Then say:

REPORT FORM MyReport PREVIEW WINDOW MyWindow

where MyWindow is your defined window.

Yes, this works - I'm doing it in a chunk of code right now. :)
David M. Stowell
Ravenslake Consulting
Chicago, Illinois

e-mail: davidstowell@ravenslakeconsulting.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform