General information
Category:
Reports & Report designer
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 --------
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only