AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Controles, páginas y ventanas / Funciones Tabla TreeView
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Swaps the content of two rows (as well as their respective tree structure) in a TreeView Table control.
Example
// Swap branches 5 and 20 in a TreeView Table control
TableSwapBranch(TVT_MENU, 5, 20)
Syntax
TableSwapBranch(<TreeView Table control> , <First element to swap> , <Second element to swap>)
<TreeView Table control>: Control name
Name of the TreeView Table control to be used.
If this parameter corresponds to an empty string (""), the TreeView Table control used is the control to which the current event belongs.
<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 TableCount 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 TableCount 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>"
Business / UI classification: UI Code
Component: wd290obj.dll
Versión mínima requerida
  • Versión 18
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 07/06/2022

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