How to set tab positions in the RTFtext?

Roger Eller roger.e.eller at sealedair.com
Wed Sep 14 17:15:44 EDT 2011


On Wed, Sep 14, 2011 at 5:06 PM, Richmond Mathewson wrote:

> On 09/15/2011 12:02 AM, Roger Eller wrote:
>
>> I've been busily coding colorized htmlText in a table field.  Now, the
>> users
>> want me to make it export to an RTF file and retain the colors.  When I do
>> this, the data goes off the page and wraps each line because my tabstops
>> are
>> not preserved in the RTF file.
>>
>> Is there a way to script the tab positions inside the RTFtext?
>>
>
> Why do I also suspect the colours get lost?
>
>
No, the colors are still intact, but I have to manually re-set the tabs in
the RTF file using Wordpad.  Yeah, this has to work in XP.
It looks great after that, but that is a manual step I want to eliminate.

~Roger



More information about the use-livecode mailing list