Recent

Author Topic: Print Modal Report  (Read 1148 times)

spuds

  • New Member
  • *
  • Posts: 14
Print Modal Report
« on: February 21, 2018, 11:00:24 pm »
I have developed a report which is displayed in a modal form. I now wish to print this report by clicking on the printer icon which appears in the toolbar of the main form. Of course because the form is modal none of the main form functions are active until the modal form is closed. Is there a way where I can capture the click from the printer icon on the main form in order to print the report without first having to close the modal report form? My application is developed  for windows 10.

rvk

  • Hero Member
  • *****
  • Posts: 6112
Re: Print Modal Report
« Reply #1 on: February 21, 2018, 11:02:48 pm »
If you want function of the main form, you should show your second form as ShowModal.

But why don't you add a print-button on your second form? It is much more intuitive because the user then knows that form is printed.

 

TinyPortal © 2005-2018