AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Funciones estándar / Funciones de colas, pilas, listas y arrays / Funciones de arrays
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
MoveColumn (Function)
In french: DéplaceColonne
Moves or swaps a column in a two-dimensional array property contained in an advanced type (xlsDocument, etc.).
Syntax

Moving a column in an array property of an advanced type Hide the details

MoveColumn(<WLanguage array> , <Start index> , <Destination index> [, <amMove>])
<WLanguage array>: Array
Name of the Array variable to use. This array must be a two-dimensional array.
<Start index>: Integer
Index of the column to move.
<Destination index>: Integer
New index of the column that was moved.
<amMove>: Optional constant
amMove: Constant used to move a column in an array.

Swapping two columns in an array property of an advanced type Hide the details

MoveColumn(<WLanguage array> , <Index of 1st column> , <Index of 2nd column> , <amSwap>)
<WLanguage array>: Array
Name of the Array variable to use. This array must be a two-dimensional array.
<Index of 1st column>: Integer
Index of the first column to swap.
<Index of 2nd column>: Integer
Index of the second column to swap.
<amSwap>: Constant
amSwap: Constant used to swap two columns in an array.
Component: wd290vm.dll
Versión mínima requerida
  • Versión 14
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 26/05/2022

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