ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Control 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
Returns:
  • the index of the current indexed column in a Table control (based on a data file or populated programmatically).
  • the number of the column currently in edit mode in the specified Table control (based on a data file or populated programmatically).
Example
// Identify the column currently in edit
ResControl = CurrentColumn(TABLE_Product)
Syntax
AndroidJava Syntax not available in Java and Android

Index of the current indexed column Hide the details

<Result> = CurrentColumn()
<Result>: Integer
  • Index of the current column if it is indexed,
  • 1 if the current column is not indexed,
  • -1 if the current control is not a Table control.

Number of the column currently in edit in the Table control Hide the details

<Result> = CurrentColumn(<Table control>)
<Result>: Integer
  • Number of the column currently in edit (if the specified Table control is currently in edit),
  • -1 otherwise.
<Table control>: Control name
Name of the Table control to be used. This Table control must be in edit.
Component: wd290obj.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help