RTFtext, printing and tabStops

Shari Coxford scoxford at hermansilvercpas.com
Thu Aug 21 16:14:00 EDT 2008


Figured out the wonkiness.  It was related to tabStops.  They apparently are not pulled in automatically with the RTF file so I did this:

Looked at the original RTF file and got the tabStops in inches.  Converted them to pixels (72 pixels per inch).  Then just before printing, set the tabStops of the fld to my calculated stops.  So tabs at .5 inches, 1 inch and 5 inches would be:
Set the tabStops of someField to 36,72,360
(no quotes)

Now we're cooking!

Shari 






More information about the use-livecode mailing list