C Cdymock Member Licensed User Longtime User Feb 21, 2012 #1 Hi All, Is there a good way to get a list of all of my EditText objects for instance, within a layout so that I can read their Tag Info? Cheers Chris
Hi All, Is there a good way to get a list of all of my EditText objects for instance, within a layout so that I can read their Tag Info? Cheers Chris
JonPM Well-Known Member Licensed User Longtime User Feb 21, 2012 #2 B4X: For i = 0 To Activity.NumberOfViews - 1 Dim mytags as String If Activity.GetView(i) Is EditText Then mytags = Activity.GetView(i) Log(mytags.tag) End If Next I don't have B4A on this computer to test it, but it should be something like this. Upvote 0
B4X: For i = 0 To Activity.NumberOfViews - 1 Dim mytags as String If Activity.GetView(i) Is EditText Then mytags = Activity.GetView(i) Log(mytags.tag) End If Next I don't have B4A on this computer to test it, but it should be something like this.