I wish a "Save" button checks if all the mandatory fields of a panel are not null before saving.
Something like:
How to retrieve the v.Text of the v object for further use?
Thanks for your help.
Something like:
B4X:
For Each v As View in pnlPanel1.GetAllViewsRecursive 'iterate panel's views
If v Is EditText Then
If v.Text.Trim.Lenght=0 Then ' <-- Here
MsgBox...
v.RequestFocus... Return (don't save)
End If
End If
Next
Thanks for your help.