i am trying to create a button so that when it is clicked it removes the values ina textbox one by one from right to left. i have done this:
Private Sub Button38_Click( ByVal sender As System.Object, ByVal e As System.EventArg s) Handles Button38.Click
If Len(TextBox1.Te xt) > 0 Then
TextBox1.Focus( )
TextBox1.Text = " "
End If
But this removes all of the values in the textbox. How can the values be removed one by one each time the button is clicked?
Private Sub Button38_Click( ByVal sender As System.Object, ByVal e As System.EventArg s) Handles Button38.Click
If Len(TextBox1.Te xt) > 0 Then
TextBox1.Focus( )
TextBox1.Text = " "
End If
But this removes all of the values in the textbox. How can the values be removed one by one each time the button is clicked?
Comment