Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Controls
  New Posts New Posts RSS Feed - PrintPreview
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

PrintPreview

 Post Reply Post Reply
Author
Message
redstarsoft View Drop Down
Groupie
Groupie
Avatar

Joined: 23 March 2009
Status: Offline
Points: 36
Post Options Post Options   Thanks (0) Thanks(0)   Quote redstarsoft Quote  Post ReplyReply Direct Link To This Post Topic: PrintPreview
    Posted: 24 April 2009 at 6:18pm
HOw add text inside of print preview ?

i tryng more don't say nothink inside. only papel in white.

thanks
Product: Xtreme SuitePro (ActiveX) version 13.0.0 (Trial)
Platform: Windows XP (32bit) - SP 3
Language: xHarbour

www.redstarsoft.com.br
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post Posted: 25 April 2009 at 12:31pm
Hi,
 
Just call PrintPreview.CreateRichEditPrintView("Just some text" & vbNewLine & "Some other text on next line")
 
 
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....
Back to Top
Auge_Ohr View Drop Down
Groupie
Groupie


Joined: 20 December 2008
Status: Offline
Points: 65
Post Options Post Options   Thanks (0) Thanks(0)   Quote Auge_Ohr Quote  Post ReplyReply Direct Link To This Post Posted: 25 October 2009 at 6:35pm
hi,
Originally posted by Aaron Aaron wrote:

Just call PrintPreview.CreateRichEditPrintView("Just some text" & vbNewLine & "Some other text on next line")
this is what i did but still blank Paper

::oPrintView  := XbpActiveXControl():new( ::drawingArea, , {110
::oPrintView:CLSID := "Codejock.PrintPreview"+HX_VERSION()      // "{D5F1AF01-889B-437B-A21A-2D3096A6C4B9}"
::oPrintView:create()

::oPrintView:AboutBox()
::oPrintView:PrintView := ::oPrintView:CreateRichEditPrintView("hello world")
::oPrintView:Show()
what are im doing wrong ? please help !

p.s. using 13.0.0 how do i get 13.x update ?

ok i got it. i forgot that Codejock is running its own Thread so i have to send Event back to Main Thread
greetings by OHR
Jimmy
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.079 seconds.