TdxCustomOrgChart.Insert(TdxOcNode,TdxOcNodeData) Method
In This Article
Inserts a new node to a tree structure.
#Declaration
Delphi
function Insert(Node: TdxOcNode; Data: TdxOcNodeData): TdxOcNode;
#Parameters
Name | Type |
---|---|
Node | Tdx |
Data | Tdx |
#Returns
Type |
---|
Tdx |
#Remarks
Creates a new node and adds it to the data structure directly before the Node parameter. The Ptr parameter sets the Data property value of a new node. A reference to the new node returns as a result of the function call.
See Also