I have:
Private Sub txtMileage_Validated(ByVal sender As Object, ByVal e As System.EventArgs) Handles txtMileage.Validated
Dim strVal = txtMileage.Text
.
.
txtMileage.Focus()
.
.
I want to turn this to handle 2 more text box entries, some thing like:
Private Sub txtMileage_Validated(ByVal sender As Object, ByVal e As System.EventArgs) Handles txtMileage.Validated, txtMiles.Validated, txtGas.Validated '<--????
Dim strVal = sender.Text '<---????
.
.
sender.Focus() '<--- ?????
But I am not sure about the syntax of my code marked with '<--- ?????
Question: What is the correct syntax to accomplish this.
Also, what is the difference between Validated and Validating events and their use?
Thank you
Also, what is the difference between Validated and Validating events and their use?