Page 1 of 1

textfield rtf

Posted: Mon Feb 14, 2011 2:22 pm
by fredigertsch
How can I format the text in a textfield, like in a wordprocessor?
Best, Fredi

Re: textfield rtf

Posted: Mon Feb 14, 2011 5:57 pm
by Janschenkel
Text fields in LiveCode are not full-fledged word processors; they can use a subset of HTML and RTF, but there's no support for embedded tables, paragraph alignment, etc. You can get and set the htmlText and rtfText of a field, read it from a file or write it to a file.

HTH,

Jan Schenkel.

Re: textfield rtf

Posted: Mon Feb 14, 2011 11:17 pm
by BvG
you can also set the textstyle, textfont and textsize of whole fields or parts of the text of a field (that is called a chunk in LC)