IsChanged Property (Article)

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

Description

Returns true if the article has been modified and not saved yet.

Available in Ted and Fred.

Syntax

bValue = object.IsChanged

object

Required. Object name. Returned by Ted.GetActiveArticle.

Remarks

Changes in the texts contained in the articles do not count as modifications to the article itself - i.e. only elements addition/removal, elements re-ordering and changes in the referenced objects are considered article modifications.

Example

This script displays the change status of the article.

  If Ted.HasActiveArticle Then

    Dim objArticle = Ted.GetActiveArticle

    Dim bStat As Boolean = objArticle.IsChanged

     MsgBox(bStat) ' displays FALSE if articles was not modified

  End If

Context

Article object

See also

IsChecked, ToggleCheck, IsNew