Rich Text

GetText

Description

Returns a string representing the contents of the RichText object.  If the RichText object contain rich text, the string will be in eFTF format.

Syntax

sText = rt:GetText()

Parameters

None

Return Value

sText
string: a string representing the contents of the rich text object, in FTF syntax

Remarks

Example
rt = fhNewRichText()
rt:SetText("An <u>important</u> point")
sText = rt:GetText()
fhMessageBox(sText)