MTblSwapRows
bOk = MTblSwapRows( hWndTbl, nRow1, nRow2, nFlags )
Swaps two rows.
Parameters
hWndTbl
Window Handle: Handle of the table
nRow1
Number: First row
nRow2
Number: Second row
nFlags
Number: Optional flags:
MTSR_REDRAW |
Redraws the table |
Return
Boolean: TRUE if successful or FALSE if an error occurs
Example
In this example a row is moved up and the table is redrawn:
Set nRowAbove = nRow
If SalTblFindPrevRow( hWndTbl, nRowAbove, 0, ROW_Hidden )
Call MTblSwapRows( hWndTbl, nRow, nRowAbove, MTSR_REDRAW )
Remarks
Split rows are not supported.
See also
MTM_RowsSwapped
Created with the Personal Edition of HelpNDoc: Easily create CHM Help documents