Print Page | Close Window

Print a Report

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=23865
Printed Date: 18 April 2024 at 5:05am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Print a Report
Posted By: DuMa
Subject: Print a Report
Date Posted: 18 June 2019 at 9:29am
Hi,

I am using the Report Control and I try to print the CXTPReportControl which is embedded in a CXTPReportView. Which calls do I need to get a printout when someone clicks on a printer button for instance.
Actually I thought that calling the PrintReport() function will do the job but I need to fill the CPrintInfo somehow. Then there the events OnPrint() and OnPreparePrinting() for instance. Do I need to call them too?

Can anyone please explain to me what are the correct steps to get a Report Control printout.

Thank you



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net