PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
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.
Versions 27 and later
iPhone/iPad This function is now available for iPhone/iPad applications.
New in version 27
iPhone/iPad This function is now available for iPhone/iPad applications.
iPhone/iPad This function is now available for iPhone/iPad applications.
Example
// On échange les branches 5 et 20 dans un champ Table hiérarchique
TABLEH_MENU.EchangeBranche(5, 20)
Syntax
<TreeView Table control>.EchangeBranche(<First element to swap> , <Second element to swap>)
<TreeView Table control>: Control name
Name of TreeView Table control to use.
<First element to swap>: Integer or character string
First branch that will be used for the swap. This branch can be identified:
  • by the subscript of the branch to move. This subscript must be included between 1 and the number of rows found in the TreeView Table control (returned by TableCount or by Occurrence).
  • by the path of the element to move. This parameter has the following format:
    "<Nom de la racine>" + TAB + ["<Nom du 1er noeud>" + TAB + ...
    ["<Nom du 2ème noeud>" + TAB + [...]]]"<Nom de la feuille>"
<Second element to swap>: Integer or character string
Second branch to move. This branch can be identified:
  • by the subscript of the branch to move. This subscript must be included between 1 and the number of rows found in the TreeView Table control (returned by TableCount or by Occurrence).
  • by the path of the element to move. This parameter has the following format:
    "<Nom de la racine>" + TAB + ["<Nom du 1er noeud>" + TAB + ...
    ["<Nom du 2ème noeud>" + TAB + [...]]]"<Nom de la feuille>"
Component: wd270obj.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment