Views have the View Base Class, but do Activities and Panels have a common Base Class to make use of? I want to make a validation sub that I can somehow pass a panel or activity to and it parses each view within the given activity/panel and looks at a Type in the Tag of the view for info like Min/Max, Data Type, etc and validates the data.
Yes. A Panel object can hold a reference to the Activity object.
B4X:
Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("1")
Dim p As Panel
p = Activity
For i = 0 To p.NumberOfViews - 1
Log(p.GetView(i))
Next
End Sub