Hello everyone, I'm trying to get all views in a tabstrip
I am getting a null return, using the code below.
Thank you for your time.
I am getting a null return, using the code below.
B4X:
Private Sub getFieldsInfo(findtag As String) As String
Dim lbl As Label
For Each v As View In Panel1.GetAllViewsRecursive ' txtAccntNum
If v Is Label Then
lbl = v
If v.tag = findtag Then
Log(v.tag)
Dim mdata As String
mdata = lbl.Text
Log(mdata)
Return mdata
End If
End If
Next
Return False
End Sub