ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Controls, pages and windows / Control functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
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
// Identification de la colonne en cours de saisie
ResChamp = CurrentColumn(TABLE_Produit)
Syntax

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 being edited (if the specified Table field is being edited),
  • -1 otherwise.
<Table control>: Control name
Name of the Table control to be used. This Table control must be in edit.
Component: wd300obj.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/25/2025

Send a report | Local help