I have a code that I need explained to me line by line.
Private Sub txtInputBox_KeyPress(KeyAscii As Integer)
If Chr(KeyAscii) = "+" Then
KeyAscii = 0
txtDisplayBox.Text = Val(txtDisplayBox.Text) + Val(txtInputBox.Text)
txtInputBox.Text = ""
End If
End Sub
________________________________________________
Now when I ran the code, I could not finish putting the sentence in the text box when I get a message automatically saying It's a palindrom!!


Reply With Quote