SelNode Method (Article)

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

Description

Selects the specified node (element) in the article tree window.

Available in Ted and Fred.

Syntax

object.SelNode objNode

object

Required. Object name. Returned by Ted.GetActiveArticle.

object

Required. Node to select. It must be a node object returned by a function like GetCurNode.

Example

This script selects the root node object.

   If Ted.HasActiveArticle Then

    Dim objArticle = Ted.GetActiveArticle

     objArticle.SelNode(objArticle.GetRootNode)

  End If

Context

Article object