Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Rtf
Message
De
29/10/1999 14:40:07
 
 
À
29/10/1999 13:36:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Re: Rtf
Divers
Thread ID:
00283941
Message ID:
00284020
Vues:
20
>How i print ( in a Report ) a memo file make in a Rich TextBox Control.
>I can make it with Word, but this required install word in every machine ??
>Any Ideas ??,
>Thanks.
>Regards, Emiliano

In the report you could put in a function that passes in the
memo field with the rtf code in it.

The function would look likt this

FUNCTION RTFTEXT
LPAMETER pc_rtf
LOCAL lo_Rtf, lc_text
lo_rtf = CREATEOBJECT("richtext.richtextctrl")
lo_rtf.TextRtf = pc_rtf
lc_text = lo_rtf.Text
RELEASE lo_rtf
RETURN lc_text

You would not get the formating of the text like bold or underlined but you
would get the text
Charles

"The code knows no master." - Chuck Mautz
"Everybody is ignorant, only on different subjects." - Will Rogers
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform