GoDiagram Win Reference
ComputeEdit Method

Calculate a new string value for this object as a result of an edit.
Syntax
'Declaration
 
Public Overridable Function ComputeEdit( _
   ByVal oldtext As String, _
   ByVal newtext As String _
) As String
public virtual string ComputeEdit( 
   string oldtext,
   string newtext
)

Parameters

oldtext
newtext

Return Value

Normally, this just returns newtext.
Remarks
This is normally called from DoEdit, and can be used for normalizing or canonicalizing the new string value, even when not interactively editing (i.e. no GoView is not available). One typical usage is to make sure the new value is a unique string within some context such as the document.
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

GoText Class
GoText Members

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback