HasTxt Method

Build 1501 on 14/Nov/2017  This topic last edited on: 22/Mar/2016, at 17:08

Description

Returns true if the node belongs to a text.

Available in Ted and in Fred.

Syntax

dim bValue as Boolean = object.HasTxt

object

Required. Object name. Returned by the GetRootNode, GetCurNode, GetTxtNode, GetParent, GetChild functions of the object, returned by Ted.GetActiveArticle.

Example

If Ted.HasActiveArticle Then

dim objA = Ted.GetActiveArticle

dim objN = objA.GetCurNode

If objN.HasTxt Then

   MsgBox ("Belongs to a text")

End If

End If

Context

Node object

See also

GetTxt