1 (edited by tcoton 2015-07-07 13:02:03)

Topic: Disabling edit in report preview

Would it be possible to:

- Remove the edition feature from a report preview as when it is saved, all the report is messed up.
- Change the name of the preview window ?

http://myvisualdatabase.com/forum/misc.php?action=pun_attachment&item=1162

Post's attachments

Attachment icon preview-report.png 29.05 kb, 348 downloads since 2015-07-07 

Re: Disabling edit in report preview

tcoton wrote:

Would it be possible to:

- Remove the edition feature from a report preview as when it is saved, all the report is messed up.

place this code on event OnShow of main form:

Form1.frxReport.PreviewOptions.Buttons := pbPrint+pbExport+pbZoom+pbFind+pbOutline+pbPageSetup+pbTools+pbNavigator+pbExportQuick;

all available values for the setting

pbPrint+pbLoad+pbSave+pbExport+pbZoom+pbFind+pbOutline+pbPageSetup+pbTools+pbEdit+pbNavigator+pbExportQuick+pbNoClose+pbNoFullScreen+pbNoEmail

tcoton wrote:

- Change the name of the preview window ?

It's not possible in the current version.

Dmitry.

Re: Disabling edit in report preview

Thanks Dmitry!