Rich Text

IsRich

Description

Returns true if a RichText object contains anything other than plain text - such as italics, bold, underlines, colours, font changes, links, citations, tables, indentations, formatting and so on.

Syntax

bIsRich = rt:IsRich()

Parameters

None

Return Value

bIsRich
boolean: true if the rich text object contains anything other than plain text

Remarks

Example
rt = fhNewRichText()
rt:SetText("An <u>important</u> point")
if rt:IsRich() then
	fhMessageBox('Rich Text value is rich')
end