virtual BOOL MoveRows(ROWCOL nFromRow, ROWCOL nToRow, ROWCOL nDestRow, UINT flags = GX_UPDATENOW, GXCmdType ctCmd = gxDo);
nFromRow
Specifies the first row.
nToRow
Specifies the last row.
nDestRow
Specifies the destination row.
flags
Specifies the update technique. See UpdateMoveRows for more information.
ctCmd
Specifies if the executed command is undone (gxUndo), redone (gxRedo), executed the first time (gxDo) or rolled back (gxRollback).
TRUE if the command has been successfully executed; it is FALSE if the command failed or if the user aborted the operation.
Overridable command-method which moves the specified rows.
Rows are moved with StoreMoveRows. The display is updated with UpdateMoveRows.
The command generates a CGXMoveRowsCmd-object with undo-information.
Control-Factory Specific ->
This method has been implemented using the abstraction mechanism as discussed in the chapter "Reducing the size of your application" in the user's guide. A call to the ImplementMoveRowsCols method from within the control factory class' InitializeGridComponents method will make the concrete implementation of this method available to your application.
If no concrete implementation is available this method returns FALSE. A warning will be displayed in the debug window.
END Control-Factory Specific
CGXGridCore::StoreMoveRows CGXGridCore::UpdateMoveRows CGXGridCore::LockUpdate
Class Overview | Class Members