B4J Question [SOLVED] Catch all nodes in Form by type.

Eme Fibonacci

Well-Known Member
Licensed User
(Using internal visual design)

B4X:
For Each Counts As Node In Form1.RootPane.GetAllViewsRecursive
                
        If Counts Is ComboBox Then 'It works.
            (...)               
        End If
           
        If Counts Is TextField Then 'Does not work.
            (...)                           
        End If
Next



What am I doing wrong?

Thank you.
 
Top