ui.Dialog.getCurrentRow()

The GetCurrentRow() method retrieves the current row of the DISPLAY ARRAY or INPUT ARRAY list. The method needs the name of the screen array as an argument. The method has the same effect as the scr_line() built-in function. Below is given an example of the method usage.

DIALOG

  DISPLAY ARRAY orders TO ordes_scrarr.*

   BEFORE ROW

      MESSAGE "You’re in raw #: "||DIALOG.getCurrentRow("orders_scrarr")

          ...

  END DISPLAY

  INPUT ARRAY clients TO client_scrarr.*

    BEFORE ROW

      MESSAGE "You’re in raw #" || DIALOG.getCurrentRow("client_scrarr")

 ...