Home > Products > CSHTMLDiff Control > Documentation > User Guide

GotoNextDiff
Previous  Top  Next


 
Navigate to the next Difference in this document, relative to the currently selected difference.  
 
Syntax  
 
Sub GotoNextDiff()  
 
Remarks  
 
Navigates to the next Difference in this document. If GotoFirstDiff was not previously called, GotoNextDiff has the same effect as GotoFirstDiff.  
 
Same as calling GotoDiff with CurrentDiff+1.  
 
This operation is available only after a valid call to DoDiff.  
     
Example  
 
Private Sub GotoNextDiff_Click()  
' go through all the differences.  
Dim count As Long  
count = diffCtrl1.DiffCount  
 
For i = 1 To count   
   MsgBox "Click Ok for Diff number " & i  
   diffCtrl1.GotoNextDiff   
   Next i   
End Sub  
 
See Also  
 
DoDiff, GotoDiff, GotoFirstDiff, GotoLastDiff, GotoPrevDiff, GotoNextDiffFromHere, DiffCount, CurrentDiff, Find, Navigation