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.
(2) I need to be able to print the RTF text as formatted text on a VFP9 label report.
I have found two online resources relating to this, one on MS, and the other by Bo Durban, in Foxtalk. Bo's solution looks very elegant, but I'm having difficulty getting my head round it to modify the code to do what I want.
My needs are very simple: I want richly formatted text to appear in a small, fixed length box on a label, followed by other report text which will not be in RTF format. The RTF object will thus be of fixed size.
Any advice, or places to see helpful examples gratefully received.
John
Dr. JW Faithfull
Curator in Geology
Hunterian Museum
University of Glasgow
Glasgow G12 8QQ
Scotland