Description
Inserts a new child of the currently selected node.
Available in Ted and in Fred.
Syntax
object.InsChildNode |
object
Required. Object name. Returned by Ted.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 insert text nodes use one of the text insertion functions (InsNewTxt, InsTxtDlg etc.).
The text must be open for edit.
The user is prompted to choose the type and position of the new node with a dialog that lists only the valid ones. If there are no more valid child node positions or types the function fails with an error message.
Context
Article object
See also
InsNewTxt, InsNodeAtCur, InsObj, InsObjDlg, InsTxt, InsTxtDlg.