Home > Products > CSHTMLDiff Control > Documentation > User Guide
|
GotoPrevDiff
|
Previous Top Next |
|
|
| Navigate to the previous Difference in this document, relative to the currently selected difference.
|
|
|
| Syntax
|
|
|
| Sub GotoPrevDiff()
|
|
|
| Remarks
|
|
|
| Navigates to the previous Difference in this document.
|
|
|
| Same as calling GotoDiff with CurrentDiff-1.
|
|
|
| This operation is available only after a valid call to DoDiff.
|
|
|
| Example
|
|
|
| Private Sub GotoPreviousDiff_Click()
|
| ' go through all the differences in reverse order.
|
| Dim count As Long
|
| count = diffCtrl1.DiffCount
|
| If count = 0 Then Exit Sub
|
|
|
| diffCtrl1.GotoLastDiff
|
|
|
| For i = count-1 To 1 Step -1
|
| MsgBox "Click Ok for Diff number " & i
|
| diffCtrl1.GotoPrevDiff
|
| Next i
|
| End Sub
|
|
|
| See Also
|
|
|
| DoDiff, GotoDiff, GotoFirstDiff, GotoLastDiff, GotoNextDiff, GotoNextDiffFromHere, DiffCount, CurrentDiff, Find, Navigation
|
|
|
|
|