htmltext rtftext

Shari Coxford scoxford at hermansilvercpas.com
Thu Aug 21 12:40:00 EDT 2008


Attempting it with an RTF text file.  

Open file tFile for read
Read from file tFile until end
Close file tFile
Replace xyz with abc in it
Set the rtfText of fld 1 to it

ALMOST perfect.  Except that nagging one size bigger text size.  If I manually select text of the fld and change it to the right size, it's gorgeous.

Checking the textsize of the fld, it is correctly set.  Opening the RTF doc normally in Wordpad or Word, the font size is correctly set.

Looked at the rtfText of the fld, no mentions of font sizes in the hidden tags.



Shari 






More information about the use-livecode mailing list