Android Question edittext1.text

SALTeNe

New Member
Licensed User
Longtime User
hello i am trying to get the edittext1.text field to clear its text i set in visual designer when i select it. i have used all the methods that come with it and cannot seem to find a suitable solution. my code is as follows:
Sub EditText1_FocusChanged (HasFocus As Boolean)
If EditText1.Enabled = True Then
EditText1.Text = ""
Else
EditText1.Text = EditText1.Text

End If
End Sub
this is for focuschanged but as i stated i have tried the other methods as well. thanks for any help on this.
 
Top