GoDiagram Win Reference
RaiseChanging Method

Call this method to invoke the OnChanged method before any change occurs.
Syntax
'Declaration
 
Public Overridable Sub RaiseChanging( _
   ByVal hint As Integer, _
   ByVal subhint As Integer, _
   ByVal obj As Object _
) 
public virtual void RaiseChanging( 
   int hint,
   int subhint,
   object obj
)

Parameters

hint
subhint
obj
Remarks
You should call this method before making any changes for which the call to RaiseChanged does not have the complete previous (old) state. You should also implement CopyOldValueForUndo and CopyNewValueForRedo to record the state information for the particular hint passed to this method. When the call to RaiseChanged has the complete before-and-after state as arguments, calling this method is not necessary. You will typically call RaiseChanging followed by a call to RaiseChanged when making a bunch of changes while SuspendsUpdates is true, if you still want to maintain the ability to undo and redo all of those changes.
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

GoDocument Class
GoDocument Members

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback