Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Backspace problem

Status
Not open for further replies.

RSTR

Programmer
Mar 25, 2000
27
US
I have this code written:


private_sub cmdback()

text1.text = info + chr(0)

end sub


This deletes one character, but when the button is clicked
again, it deletes nothing.

what am I supposed to do that will make a backspace work all of the time?

-RSTR


rstr@spacemail.com

 
Private Sub cmdBack_Click()
If Len(info) > 0 Then
info = Left$(info, Len(info) - 1)
Text1 = info
End If
End Sub

David Paulson


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top