![]() |
Previous Top Next |
tcTreeComboBox component.
|
function AddPath(Node: TTreeNode; const Path: String; const PathSeparator: String = '\'): TTreeNode;
|
The AddPath method adds or inserts to the TreeView the string or nested group of strings (pathes) specified by Path parameter and separated by string specifed in PathSeparator parameter.
|
|
The declaration can be
|
AddPath(nil, 'D:\Test\Test');
|
|
So, if you call method above, the component will add following structure to the root item of TreeComboBox:
|
D:
|
Test
|
Test
|
|
Return value is the last added child node.
|
ShowTreePathInEdit, TreePathSeparator and TreeView properties.
|