Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Displaying RTF text on label reports etc
Message
 
To
25/05/2006 07:31:57
John Faithfull
Hunterian Museum, University of Glasgow,
Glasgow, United Kingdom
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01124811
Message ID:
01124814
Views:
16
>Hello,
>
>I have a form which contains an RTF control, allowing RTF text to be stored in a memo field. The formatting will in fact only be a mixture of normal and italic text (for Latin names of biological species). Font size etc will be fixed, as will the number of characters which can be entered.
>
>There are a couple of things I'd like to be able to do:
>
>(1) how to get the length (ie no of chars) of JUST the displayed text (ie without any of the RTF formatting tags) in the form control.
? [Just Text w/o tags],LEN(thisform.RichTextControl.Text)
? [Text w/ tags], LEN(thisform.RichTextControl.TextRTF)
>
>(2) I need to be able to print the RTF text as formatted text on a VFP9 label report.
Check http://www.atoutfox.org/articles.asp?ACTION=FCONSULTER&ID=0000000131
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform