Information générale
Catégorie:
Contrôles ActiveX en VFP
Titre:
Printing from the Rich Text Control
I am trying to print from the MS rich text control. They give an example of how to print from the control in the help file...but the example is VB based and does not seem to work.
ThisForm.oleCommonDialog.ShowPrinter && Displays dialog just fine...
* there is a command here that I do not know how to replicate in VFP
* Printer.Print ""
* but I'm guessing is my missing link...Then,
ThisForm.oleRTC.SelPrint(ThisForm.oleCommonDialog.hDC)
I get an error on the above line that I have an invalid HDC...
Any ideas how to correct this?
Thanks in advance.
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement