PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • 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,
Versions 21 and later
Windows This function is now available for the WEBDEV sites in Windows.
New in version 21
Windows This function is now available for the WEBDEV sites in Windows.
Windows This function is now available for the WEBDEV sites in Windows.
Example
RowNum is int = CurrentSubscript()
Trace("Number of the current row: " + RowNum)
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

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