Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Controlling Previews.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00037754
Message ID:
00037903
Vues:
33
>>>>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,
>Are you running this code in VFP (3.0 or 5.0) or in FPW 2.x? I've tried this before, but I get 'Command contains unrecognized phrase/keyword' In help, under the REPORT command the WINDOW option is not listed. I guess I neglected to say I am using VFP 3.0 in my original message. Please let me know if you are getting it work with VFP, maybe I'm missing something.
>Thanks,
>Marcus.

Marcus, this WINDOW option is my VFP5 help but not in VFP3. Added due to popular demand, I guess.

Barbara
Barbara Paltiel, Paltiel Inc.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform