|
|
|
|
|
- Use in the events of a Table control
- Limits
CurrentIndex (Function) In french: IndiceEnCours
Warning
From version 27, CurrentSubscript is kept for backward compatibility. This function has been replaced with CurrentIndex.
Depending on the specified control, returns: - the number of the current line displayed in the current Table control,
 the number of the option with focus in a Check Box control, the number of the current row in the current Looper control, the index of the current indexed control.
NumLigne is int = CurrentIndex()
Trace("Numéro de la ligne en cours: " + NumLigne)
Syntax
<Result> = CurrentIndex()
<Result>: Integer - Number of the current row displayed in the current Table control.
- Number of the option in the current Check Box control.
Index of the current indexed control. Number of the current row displayed in the current Looper 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 CurrentIndex is used in the "Row display" event of a row, CurrentIndex returns 0. The CurrentIndex function can be used with: Table, Check Box and Indexed controls. Table and Looper controls.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|