GoDiagram Web Reference
StartTransaction Method (GoUndoManager)

Begin a transaction, where the changes are held by a GoUndoManagerCompoundEdit.
Syntax
'Declaration
 
Public Overridable Function StartTransaction() As Boolean
public virtual bool StartTransaction()

Return Value

true if starting a top-level transaction
Remarks
Transactions can be nested: StartTransaction returns true StartTransaction returns false FinishTransaction returns false FinishTransaction returns true Nested transactions will share the same compound edit as the top-level one. This will raise a GoDocument.Changed event for each of the Documents, with a hint of StartedTransaction.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GoUndoManager Class
GoUndoManager Members
EndTransaction Method

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback