Android Tutorial Variables & Objects in Basic4android

klaus

Expert
Licensed User
Longtime User
B4X:
Dim edtText(), edtText_val() As EditText
edtText = Arrary As EditText (edittext_1, edittext_2, edittext_3, edittext_4 ..., edittext_10)
edtText_val = Arrary As EditText (edittext_1_val, edittext_2_val, edittext_3_val, edittext_4_val ..., edittext_10_val)
Dim temp1, temp2 As String
For i = 0 To 9
    temp1 = edtText(i).Text
    temp2 = edtText_val(i).Text
Next
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…