SwitchParent Sub Procedure

Startpage
Overview
Index
HAPI
   |
   HAPI.Node
      |
      SwitchParent(ndOldParent As Node, ndNewParent As Node)

Syntax

Sub Procedure SwitchParent(ndOldParent As Node, ndNewParent As Node)

Parameter description

NameTypeDescription
ndNewParentNode The new parent.
ndOldParentNode The old parent.

Description

Substitutes the first node specified with the second node specified as a parent of this node. Substitute a new parent for an old parent. The new parent must be compatible with the old parent: This implies that it must be of the same class, have the same number of states, etc.

HUGIN Expert A/S, 2008 - comments to activex@hugin.com