gpeMove
gpeMove(g_tableView[g_cells]g_fromAnchor g_toAnchor) => t / nil
Description
Moves a list of cells within the Grid Pattern Editor table from one point to another.
Arguments
|
(Optional) List of cells to move. This option defaults to the current selection. |
|
Value Returned
|
The specified list of cells have been moved within the Grid Pattern Editor table. |
|
Examples
In a 4x4 grid, to move a cell from the top right corner to the bottom left corner:
tv = dwindow('gpeGridAsst_1)->tableView ; get tableView
gpeSelect(tv 3:3) ; select top right corner cell
gpeMove(tv 3:3 0:0) ; move from top right to bottom left
To move three cells in the top left corner down by two rows:
gpeMove(tv list(3:0 3:1 2:0) 2:0 0:0)
Return to top