BBjTree::insertNode
Description
Inserts a child node into the BBjTree control.
Syntax
Return Value |
Method |
void |
insertNode(int childID, int parentID, string text, int index) |
Parameters
Variable |
Description |
childID |
Specifies the ID of the child node. |
parentID |
Specifies the ID of the parent node. |
text |
Specifies the label of the child node. |
index |
Specifies the 0-based index of the parent child list in which the node will be inserted. |
Return Value
None.
Remarks
Each child node in the parent's list with an index greater or equal to the specific index is shifted upward to have an index one greater than the value it had previously.
Example
REM Insert a child node into a tree control |
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.