The following code recognizes the text box was Modified when I change the entire value, but if I use the mouse to hi-lite one or more characters and change it, then modified is still false. Is that because I have it in the validated event?
Auguy
Sylvania/Toledo Ohio
Code:
Private Sub txtDecimal_Validated(ByVal sender As Object, ByVal e As EventArgs) _
Handles txtUnitAmount.Validated, txtUnitPrincipal.Validated, txtUnitInterest.Validated
Dim txtbox As TextBox
txtbox = DirectCast(sender, TextBox)
If txtbox.Modified Then
ReCalcLine()
End If
End Sub
Auguy
Sylvania/Toledo Ohio