Type: Integer
Availability: Read or write at run time only
The row property contains the current row on the current sheet of a Table control.
The column, row, and sheet properties define the current cell when accessing certain properties within the table control; for example, the text, picture, and selected properties of a cell.
If the current cell is visible on the table and the Table control has focus, the cell has focus rectangle painted on it.
Row access is 1-relative. Changing the value of the row property does not cause the table to be repainted.
The following examples show the use of the row property.
// If new instance, then add new row to database if isNewInstance and instancesTable.row > instancesTable.fixedRows then saveOnDatabase(currentRow); instancesTable.setFocus; return; endif; dragDrop(table: Table input; win: Window input; x: Real; y: Real) updating; begin inheritMethod(table, win, x, y); if dragRow > 1 and dragColumn > 0 then row := dragRow; column := dragColumn; if text <> "" then calendar.changeType := calendar.ChangeType_Day; calendar.date.setDate(text.Integer, calendar.date.month, calendar.date.year); endif; endif; end;