Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - How does one use CreatePrintView?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How does one use CreatePrintView?

 Post Reply Post Reply
Author
Message
Stilki View Drop Down
Groupie
Groupie


Joined: 27 May 2005
Status: Offline
Points: 70
Post Options Post Options   Thanks (0) Thanks(0)   Quote Stilki Quote  Post ReplyReply Direct Link To This Post Topic: How does one use CreatePrintView?
    Posted: 21 November 2008 at 10:57pm
There is a function called 'CreatePrintView' from the ReportControl.
I cannot find any examples and the Help is not very useful on this as well.
Back to Top
joeliner View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 June 2006
Status: Offline
Points: 273
Post Options Post Options   Thanks (0) Thanks(0)   Quote joeliner Quote  Post ReplyReply Direct Link To This Post Posted: 25 November 2008 at 1:01pm
add printpreview control to a form (e.g. frmpreview) then try this:

frmPreview.PrintPreview.PrintView = wndReportControl.CreatePrintView
frmPreview.Show vbModal

regards,

Product: Xtreme SuitePro (ActiveX) version 13.1
Platform: Windows XP SP 3
Language: Visual Basic 6 SP6
Back to Top
Stilki View Drop Down
Groupie
Groupie


Joined: 27 May 2005
Status: Offline
Points: 70
Post Options Post Options   Thanks (0) Thanks(0)   Quote Stilki Quote  Post ReplyReply Direct Link To This Post Posted: 25 November 2008 at 5:59pm
Thank you. That explains it very well
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.203 seconds.