Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Fallback to normal previewing from FoxyPreviewer 1

Status
Not open for further replies.

Rajesh Karunakaran

Programmer
Sep 29, 2016
549
MU
Dear Team!,

I am using FoxyPreviewer to create PDF file. However, once I run the 'DO FOXYPREVIEWER.APP' command and then do my stuff, the subsequent report previews also start using the FoxyPreviewer window. How can I prevent this? Or in other words, I want the report previews to use normal VFP preview window but would use FoxyPreviewr only for creating PDFs.

Any idea friends?

Thanks you,
Rajesh
 
Rajesh,
if you want to terminate the use of FoxyPreviewer you can simply give
Code:
Do FoxyPreviewer.app with "Release"
- as also described in the documentation.
Personaly I dont understand: why do you not want to see the FP Preview window but you do want to see the default Preview window? What bothers you in the FP preview window v.s. the default?
Regards,
Koen
 
Dear Koen

This is exactly what I was looking for. Thank you.
Its only a matter of minimising additional actions from the view by uses, say, i don't want to give options like emailing right from within the preview.

Rajesh
 
Rajesh,

If you want to modify the default settings, please play with following properties

Code:
* After initializing FoxyPreviewer, here are some optional properties that you can set:
* choosing what controls or tabs will be disabled in the settings form
* This brings you an option to control what functions each user will have available
WITH
 _Screen.oFoxyPreviewer.oSettingsDlg 
        .lEnableTabPdf        = .F. 
        .lEnableLanguage      = .F. 
        .lEnableChkSaveasTxt  = .F. 
        .lEnableChkSaveasHtml = .F.
ENDWITH
Also these props are explained in the help documentation.

Regards,
Koen
 
Koen,

Thank you very much for your time and the explanation!
I will go through the documentation for the rest of things.

Rajesh
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top