Hi to all! With this code i obtain an error:
What's the right way to pass a string as a valid EditText? Thanks!
B4X:
Private Sub clickDate_Click
Dim btnDate As ImageView = Sender
Dim edtText As EditText = btnDate.Tag
selectionDate(edtText)
End Sub
Private Sub selectionDate (dateField As EditText)
dateField.Text = DateTime.Date(DateTime.Now)
End Sub
What's the right way to pass a string as a valid EditText? Thanks!