G
Guest
im trying to use the undo function of the richTextBox but its working wrong.
when im pressing the "undo" button all the text of the richTextBox is
deleted (even if my last action was to delete only one char)
whats wrong??
For i = 0 To 9
If richTextBoxArr(i).Focused Then
If richTextBoxArr(i).CanUndo = True Then
richTextBoxArr(i).Undo()
richTextBoxArr(i).clearUndo()
Exit For
End If
End If
Next
thanks
when im pressing the "undo" button all the text of the richTextBox is
deleted (even if my last action was to delete only one char)
whats wrong??
For i = 0 To 9
If richTextBoxArr(i).Focused Then
If richTextBoxArr(i).CanUndo = True Then
richTextBoxArr(i).Undo()
richTextBoxArr(i).clearUndo()
Exit For
End If
End If
Next
thanks