DelCurNode Method

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

Description

Delete the current node (element) in the article tree.

Available in Ted and in Fred.

Syntax

object.DelCurNode

object

Required. Object name. Returned by Ted.GetActiveArticle, or Fred.GetActiveArticle, e.g. dim objarticle = Ted.GetActiveArticle or dim objarticle = Fred.GetActiveArticle.

Remarks

It works only for nodes inside texts (ie nodes corresponding to paragraphs or tables or fragment of text with a text styles) - to delete text nodes use the DelTxt function - and it works deleting from the text the corresponding fragment (ie paragraph or table etc). The text must be open for edit.