Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mixed font type in a text block in report
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00925644
Message ID:
00926727
Views:
18
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform