Description Property

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

Description

Returns the description of the text.

Available in Ted and in Fred.

Syntax

object.Name

object

Required. Object name. Returned by Ted.GetActiveTxt, objNode.GetTxt or objArticle.GetTxt(nIdx).

Example

This script displays the text's description.

  If Ted.HasActiveTxt Then

    Dim objT = Ted.GetActiveTxt

    Dim strDesc As String = objT.Description

    If strDesc = "" Then

       MsgBox("This text has no description")

    Else

       MsgBox("The text description is " & strDesc)

    End If

  End If

Context

Text object