Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing from a rich text edit box...
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Printing from a rich text edit box...
Divers
Thread ID:
00209173
Message ID:
00209173
Vues:
54
I'm having problems printing from a rich text edit box..

Here is a sample of the code that I'm using.. any help in figuring out what I'm doing wrong would be greatly appreciated.

Local f_printer,oPrinter
set step on
f_printer=GetPrinter()
f_title=thisform.caption
Set Procedure to f_rtfprt Additive
oPrinter=CreateObject("PrintObj",f_printer)
oPrinter.StartDoc(oPrinter.hdc,f_title)
oPrinter.StartPage(oPrinter.hdc)
This.parent.parent.RTFEditBox.SELPRINT(oPrinter.hdc)
oPrinter.EndPage(oPrinter.hdc)
oPrinter.EndDoc(oPrinter.hdc)
Release oPrinter
Release Procedure f_rtfprt
---
Jason K. Monroe
Applications Developer / Systems Analyst
"It's impossible to look to the future,
When your always staring at the past."
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform