AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Funciones WLanguage / Controles, páginas y ventanas / Funciones Tabla
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
Moves the content of a row as well as its entire descending tree structure in a TreeView Table control.
Ejemplo
// Positions the content of branch 1
// as child of branch 19 in the TreeView Table control
TVT_Customer.MoveBranch(1, 19, tmInChild)
// Positions the content of "My Documents\To Do" branch
// as child of branch 1 in the TreeView Table control
TVT_FOLDERS.MoveBranch("My documents" + TAB + ...
"To do", 1, tmInChild)
// Positions the content of branch 1 as root of the TreeviewTable control
TVT_Customer.MoveBranch(1, Null, tmInChild)
Sintaxis
<Result> = <TreeView Table control>.MoveBranch(<Element to move> , <Destination element> , <Type of move>)
<Result>: Integro
Actual position at which the row was moved. This position is equal to the index of the destination line only if the destination is before the source in the TreeView Table control.
<TreeView Table control>: Nombre del control
Name of the TreeView Table control to be used.
<Element to move>: Entero o cadena de caracteres
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 control rows (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>"
<Destination element>: Entero o cadena de caracteres
Destination branch. This branch can be identified:
  • by the index of the destination branch. This index must be between 1 and the number of control rows (returned by the <Table>.Count function or the Count property).
  • by the path of the destination element. This parameter has the following format:
    "<Root name>" + TAB + ["<Name of 1st node>" + TAB + ...
    ["<Name of 2nd node>" + TAB + [...]]]"<Leaf name>"
  • by 'Null' or empty string ("") to specify the root of the tree structure.
<Type of move>: La constante booleana
Type of move to perform:
tmInChildThe branch is moved and it will be the first child of destination branch. The branch moved will be positioned one level below the destination branch in the hierarchy.
tmInSiblingThe branch is moved and it will be the next sibling of the destination branch. The branch moved will be positioned on the same hierarchy level as the destination branch but at the following position.
Componente: wd300obj.dll
Versión mínima requerida
  • Versión 23
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 21/09/2024

Señalar un error o enviar una sugerencia | Ayuda local