Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bold/Italic in a memo field something I could do in FP 2
Message
 
À
01/06/1998 16:02:07
Jeroen Naus
Harte-Hanks Europe
Hasselt, Belgique
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00103772
Message ID:
00104296
Vues:
37
>I have a routine in FP 2.6 that could print a part of the contents of a memo field bolded or italic and the rest normal. I did this using escape codes that triggered the printer. Is there a way in VFP 5 or 6 to do the same and use Windows True Type fonts ?
>
>I tried using the RTF control but it doesn't support page breaks. I tried using Word trough COM, but it is way to slow. The only solution I see at this moment is a Word merge.
>
>Is there anyone that has a better solution ?

Jeroen,

For complex work, Word OLE automation is the way to go. And for simple things you can still use the old VFP report generator. I suppose you're able to chop your memo into several parts. Then it's only a matter to set the font attributes for part 1 and part 2 of your memo that you should put on the report as 2 different fields. The only thing that seems pretty hard to achieve is have part 2 start just where part 1 ends.

José, a neighbor.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform