Hi All, this is my first post here an also my first android app ( first overall program ), a simple calculator.
I want to limit the user to type no more than one dot, I do not know how to do it. If you look at the image I uploaded you can see that I can type as many as I want.
this is the simple code I have for that button
Thanks.
I want to limit the user to type no more than one dot, I do not know how to do it. If you look at the image I uploaded you can see that I can type as many as I want.
this is the simple code I have for that button
B4X:
Sub Button11_Click
Vibrate.Vibrate(30)
EditText1.Text = EditText1.Text & "."
End Sub
Thanks.
Attachments
Last edited: