Recent

Author Topic: [Solved] LazReport: hide printing dialog  (Read 414 times)

lainz

  • Hero Member
  • *****
  • Posts: 4150
    • https://lainz.github.io/
[Solved] LazReport: hide printing dialog
« on: February 09, 2023, 11:51:27 pm »
Hi, when I print using lazreport directly without going into a preview, there's a small box showing on top that says 'printing copy 1 of 1...' with a cancel button.

Is possible to disable that dialog?
« Last Edit: February 09, 2023, 11:56:00 pm by lainz »

lainz

  • Hero Member
  • *****
  • Posts: 4150
    • https://lainz.github.io/
Re: LazReport: hide printing dialog
« Reply #1 on: February 09, 2023, 11:55:45 pm »
Solved
Code: Pascal  [Select][+][-]
  1. frComprobante.ShowProgress := False;

dseligo

  • Hero Member
  • *****
  • Posts: 984
Re: LazReport: hide printing dialog
« Reply #2 on: February 10, 2023, 12:36:06 pm »
Solved
Code: Pascal  [Select][+][-]
  1. frComprobante.ShowProgress := False;

This box shows also when going into preview.
Two or three weeks ago I also disabled this in one program. Users of that program complained that often they get empty preview, but when opening preview again preview showers.
After quite a while I discovered that they, while printing reports, press Enter 3 times in quick succession, to confirm some questions and options. After previous update of program I removed one dialog, and the third Enter was now transferred to that Lazreport dialog with Cancel button.
They said they would press Enter only 2 times from now, but I still disabled that dialog from showing. :)

 

TinyPortal © 2005-2018