NodeStatesAdd


Description

An event that reports a State object has been added to a Node object's States collection.

Syntax

aModel_NodeStatesAdd(aNode, aState)

 

Parameter Description
aModel a Model object.
aNode the Node object to which a state has been added.
aState the State object that has been added.

Guarantees

Remarks

The new state's position can be found with this expression:

aNode.States.Indexes(aState),

or because it is always added to the end,

aNode.States.Count - 1

The state's new name can be found with this expression:

aState.Name

This event will often be followed by a NodeStatesMove(aNode, aState, iPositionOld) event.

Applies To

Model

Also See:

Events: an Overview