Create a button that generates the report
Generate a PDF report with a press of a button.
Prerequisites
To create a button that generates the report
-
Create the button:
- In Project view, right-click MainWindow (type), and select .
-
Hover-over the button, select
, and enter GenerateReportButton.
- In Properties, set Text to Generate Report.
-
Configure the button: