Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Mixed font type in a text block in report
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00925644
Message ID:
00926727
Vues:
17
Jose,

What I've done is to append into a general field an RTF file with your text string with the proper formatting.
lctempfilename=...
SCAN
   lcrtfstring=...
   StrTofile(lcstring,lctempfilename)
   Append General gRTFField from (lctempfilename)
ENDSCAN
ERASE (lctempfilename)
Then display this general field in an OLE control on the report. You can use this to change within a text block fonts, size, formatting, color, etc.

To figure out the RTF formatting, just format some text in Word as you want it, save as RTF and then open the file as a plain text file.



>Hello everyone - I need to know if there is a way for me to create a report and put a text field in it which stretches with data and dynamically change the fontstyle. for example: the following text
>
>
>This is text data BOLDFACE TEXT back to normal
>
>Thanks.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform