|
|
|
|
|
<TreeView Table>.SwapBranch (Function) In french: <Table hiérarchique>.EchangeBranche Swaps the content of two rows (as well as their respective tree structure) in a TreeView Table control. // Swap branches 5 and 20 in a TreeView Table control TVT_MENU.SwapBranch(5, 20)
Syntax
<TreeView Table control>.SwapBranch(<First element to swap> , <Second element to swap>)
<TreeView Table control>: Control name Name of the TreeView Table control to be used. <First element to swap>: Integer or character string First branch that will be used for the swap. This branch can be identified: - by the index of the branch to move. This index must be between 1 and the number of rows in the TreeView Table control (returned by the <Table>.Count function or the Count property).
- by the path of the element to move. This parameter has the following format:
"<Root name>" + TAB + ["<Name of 1st node>" + TAB + ... ["<Name of 2nd node>" + TAB + [...]]]"<Leaf name>"
<Second element to swap>: Integer or character string Second branch to move. This branch can be identified: - by the index of the branch to move. This index must be between 1 and the number of rows in the TreeView Table control (returned by the <Table>.Count function or the Count property).
- by the path of the element to move. This parameter has the following format:
"<Root name>" + TAB + ["<Name of 1st node>" + TAB + ... ["<Name of 2nd node>" + TAB + [...]]]"<Leaf name>"
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|