BBjTree::setRoot
Description
Creates the root node for the BBjTree control.
Syntax
Return Value |
Method |
void |
setRoot(int ID, string text) |
Parameters
Variable |
Description |
ID |
Specifies the ID of the root node. |
text |
Specifies the text for the label of the root node. |
Return Value
None.
Remarks
All trees must have only one root node. The root must be set before any other nodes are added.
Example
REM Create the root node of a tree control |
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.