CGXGridCore::CommitTrans
void CommitTrans( );
Remarks
Marks the end of a transaction.
CommitTrans checks if commands have been executed since calling BeginTrans. If yes, a CGXBlockCmd-object is stored onto the undo-stack. If no, the last CGXBlockCmd-object will be removed from the stack.
If the transaction has already been aborted (Rollback), CommitTrans has no functionality.
If CommitTrans is called in a nested transaction, only an internal counter will be decremented.
See BeginTrans for an example.
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 ImplementUndoRedo 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 performs no action.
END Control-Factory Specific
See Also
CGXCommand CGXGridCore::Rollback CGXGridCore::BeginTrans