guides:programming:programmers_reference_manual:move_row_message

MOVE_ROW message

Moves a row within an edit table from one position to another.

Edit table.

moveRow = Send_Message(controlID, "MOVE_ROW", fromRow, toRow)

Parameters are as follows.

ParameterDescription
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 the new position of the row.

Send_Message() function

CtrlEntId = @window:'.TABLE_1'

fromRow = 3

toRow = 5

rh = Send_Message( CtrlEntId, 'MOVE_ROW', fromRow, toRow )
  • guides/programming/programmers_reference_manual/move_row_message.txt
  • Last modified: 2024/06/19 20:20
  • by 127.0.0.1