Description
Moves a row within an edit table from one position to another.
Applies to
Edit table.
Syntax
moveRow = Send_Message(controlID, "MOVE_ROW", fromRow, toRow)
Parameters
Parameters are as follows.
Parameters | Description |
---|---|
fromRow | Integer. The position of the row to be moved. |
toRow | Integer. The position that the row should be moved to. To move a row to the end of a table, the toRow value should be -1. |
Returns
Returns the new position of the row.
See Also
Example
CtrlEntId = @window:'.TABLE_1' fromRow = 3 toRow = 5 rh = Send_Message( CtrlEntId, 'MOVE_ROW', fromRow, toRow )