Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Preview
Message
De
09/12/1997 01:16:15
 
 
À
09/12/1997 00:05:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Divers
Thread ID:
00064586
Message ID:
00064599
Vues:
41
Thanks Vlad, Really appreciate it. It's working now. Dora First, look in the help at SET RESOURCE. The resource file is a dbf type file that keeps all kind of settings like: window positions, toolbar position, toolbar customizations, keyboard macros, etc, etc. If you have SET RESOURCE ON, VFP will create a file called FoxUser.dbf, if you don't have one. You can set the resource file to some different file. Is it more clear now? Vlad >Vlad, > >Thank you for your help. As I am quite new to VFP, can you elaborate more on >the creation of the resource file, please. > >Thanks again. > >Dora > >First, set the RESOURCE file to a new one. Than, open the print preview and >customize the toolbar. Close FoxPro. Open again. Open the resource file as >a dbf and delete all records that have nothing to do with the toolbar. Now, >you have a resource file that customizes the toolbar. > >In your print preview method/procedure: > >lcOldResourceFile = SET("RESOURCE",1) >SET RESOURCE TO MyFile >REPORT FORM ... >SET RESOURCE TO (lcOldResourceFile) > >Include the MyFile into your project. Bingo! > >Vlad > >>Dear all, >> >>Usually when you preview a report using the command >> >>REPORT FORM 'filename' PREVIEW >> >>the previewed report will also show a print preview toolbar. >>The print preview toolbar consists of the next, previous, zoom, >>close and also print button. Is there a way to disable the >>print button? >> >>Please help. Thank you very much >> >> >> >>Dora > > >-------- REPLY, End of original message -------- -------- REPLY, End of original message --------
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform