Rich Text

AddText

Description

Appends a string that can be in eFTF syntax to the existing contents of a RichText object.

Syntax

rt:AddText(strText[, bRich])

Parameters

strText
string: text to append.
bRich
boolean: Optional. Defaults to true. If true, strText contains rich text in eFTF syntax. Otherwise, strText is treated as plain text.

Return Value

none

Remarks

Example
rt = fhNewRichText()
rt:AddText("An <u>important</u> point")
rt:AddText("!!!")
sText = rt:GetText()
fhMessageBox(sText) -- displays "An <u>important</u> point!!!"