B4J Question Is there a way to enumerate the components and their current properties?

B4JExplorer

Active Member
Licensed User
Longtime User
Hi,

Is there a way to get the complete state of a layout, enumerating its components, which one is active, what fonts and sizes, etc?
 

Cableguy

Expert
Licensed User
Longtime User
You can iterate through every control (node) using the method
GetAllViewsRecursive.

Something like:

B4X:
For each n as node in mainform.getallviewsrecursive
Log(n)
Next

Note this is pseudo-code
 
Upvote 0
Top