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.
  • Use in the events of a Table control
  • Limits
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Depending on the specified control, returns:
  • the number of the current row displayed in the current Table control,
  • Windows MobileJava the number of the option with focus in a Check Box control,
Versions 15 and later
Java This function is now available for Java applications.
New in version 15
Java This function is now available for Java applications.
Java This function is now available for Java applications.
Example
NumLigne is int = CurrentSubscript()
Trace("Numéro de la ligne en cours: " + NumLigne)
Syntax
<Result> = CurrentSubscript()
<Result>: Integer
  • Number of the current row displayed in the current Table control.
  • Number of the option in the current Check Box control.
Remarks

Use in the events of a Table control

When initializing a Table control, the "Row display" event is run whenever a row is displayed in the Table control.
When initializing a Table control, if CurrentSubscript is used in the "Row display" event of a row, CurrentSubscript returns 0.

Limits

The CurrentSubscript function can be used with:
    Component: wd260obj.dll
    Minimum version required
    • Version 9
    This page is also available for…
    Comments
    Click [Add] to post a comment