rtf Txt

Richard Gaskin ambassador at fourthworld.com
Sat Oct 23 16:17:37 EDT 2004


Frank D. Engel, Jr. wrote:
> create a field (it can be hidden), here I call it "xform":
> 
> set the rtfText of field "xform" to txvariable
> put field "xform" into txvariable
> 
> 
> Note that this will cause you to lose all formatting.
> 
> You can simplify it somewhat as follows:
> 
> set the rtfText of field "xform" to URL ("File:"&pathtoRtfText)
> put field "xform" into txvariable

Tip:  If the field you're using for converting text is on a card that 
isn't open you'll get a performance boost of about 80% for that operation.

-- 
  Richard Gaskin
  Fourth World Media Corporation
  ___________________________________________________________
  Ambassador at FourthWorld.com       http://www.FourthWorld.com


More information about the use-livecode mailing list