4D v16.3Displayed line number |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v16.3
Displayed line number
Displayed line number
The Displayed line number command only works with the On Display Detail form event. It returns the number of the row being processed while a list of records or list box rows is displayed on screen. If Displayed line number is called other than when displaying a list or a list box, it returns 0. In the case of a list of records, when the displayed row is not empty (when it is linked to a record), the value returned by Displayed line number is identical to the value returned by Selected record number. Like Selected record number, Displayed line number starts at 1. This command is useful if you want to process each row of a list form or list box displayed on screen, including empty rows. This example lets you apply an alternating color to a list form displayed on screen, even for rows without records: `List form method
See also
|
PROPERTIES
Product: 4D
HISTORY
Modified: 4D v11 SQL ARTICLE USAGE
4D Language Reference ( 4D v16) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||