Print Page | Close Window

PrintPreview

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Controls
Forum Description: Topics Related to Codejock Controls
URL: http://forum.codejock.com/forum_posts.asp?TID=14137
Printed Date: 26 April 2024 at 9:08am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: PrintPreview
Posted By: redstarsoft
Subject: PrintPreview
Date 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



Replies:
Posted By: Aaron
Date 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....


Posted By: Auge_Ohr
Date 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 i´m 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 it´s own Thread so i have to send Event back to Main Thread


-------------
greetings by OHR
Jimmy



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