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.

ParametersDescription
fromRowInteger. The position of the row to be moved.
toRowInteger. 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

Send_Message() function

Example

CtrlEntId = @window:'.TABLE_1'
fromRow = 3
toRow = 5
rh = Send_Message( CtrlEntId, 'MOVE_ROW', fromRow, toRow )
  • No labels