Re: print preview
Posted: Tue Nov 17, 2020 11:04 am
Modified version of Execute report with NOSAVEBUTTON support.
You copy the files from the attachment to your hmg.3.4.4 folder overwriting previous versions (make a backup of them).
Rebuild HMG - just run BuildLib32.bat
Use in your sources:
Function:
Command:
Note, if you used in HMG the i_print.ch file from the previous post, which permanently removes the option to save while print preview, you must restore its original version!
You copy the files from the attachment to your hmg.3.4.4 folder overwriting previous versions (make a backup of them).
Rebuild HMG - just run BuildLib32.bat
Use in your sources:
Function:
Code: Select all
ExecuteReport (<cReportName>, <lPrintPreview>, <lSelectPrinter>, [<cOutputFile>], [<lNoSaveButton>])
Code: Select all
EXECUTE REPORT <ReportName> [[PREVIEW] [NOSAVEBUTTON]] [SELECTPRINTER] [FILE <cFile>]