ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Queue, stack, list and array functions / Array functions
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
Minimum version required
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help