Private Sub Command1_Click() Dim i As Integer i = Len(Text1.Text) Text1.Text = Mid(Text1.Text, 1, i - 1)End Sub
Private Sub Command1_Click()If Len(Text1.Text) > 0 Then Text1.Text = Left(Text1.Text, Len(Text1.Text) - 1)End Sub