![]() |
CXTPReportControl PrintPreview |
Post Reply
|
| Author | |
vjedlicka
Senior Member
Joined: 04 September 2007 Status: Offline Points: 122 |
Post Options
Thanks(0)
Quote Reply
Topic: CXTPReportControl PrintPreviewPosted: 01 December 2013 at 1:16pm |
|
How do I switch CXTPReportControl to print-preview mode?
|
|
|
Thank you
Vaclav --------------------- ToolkitPro 20.1.0 VS2010-2022, Windows 11 |
|
![]() |
|
SuperMario
Senior Member
Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
Quote Reply
Posted: 02 December 2013 at 9:02am |
|
GetReportCtrl().EnablePreviewMode(!GetReportCtrl().IsPreviewMode());
GetReportCtrl().Populate();
|
|
![]() |
|
vjedlicka
Senior Member
Joined: 04 September 2007 Status: Offline Points: 122 |
Post Options
Thanks(0)
Quote Reply
Posted: 02 December 2013 at 3:21pm |
|
Is that all I need to do to display a print preview?
I added those two lines as the last statements in the CReportItemControlsDlg::OnInitDialog() method (sample ReportItemControls) and nothing happened.
|
|
|
Thank you
Vaclav --------------------- ToolkitPro 20.1.0 VS2010-2022, Windows 11 |
|
![]() |
|
Michl
Senior Member
Joined: 14 September 2007 Status: Offline Points: 138 |
Post Options
Thanks(0)
Quote Reply
Posted: 14 May 2014 at 4:41am |
|
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |