Android Question Dot Notation Limit?

Mashiane

Expert
Licensed User
Longtime User
Hi, I need some help

I have defined a couple of classes that reference each other. The properties / variable definitions are public variables. For some reason, my level of dot.nation up to 4 levels does not seem to work.

B4X:
pgBtnSearch.Header.RightButton.HasSearch = "Y"

Each of these classes have an Initialize method that sets up some properties and initializes the child classes.

On initialization, RightButton.HasSearch property is set to "N" but now when I change it in code to "Y" above it never gets updates and the ide is not giving me an error at all.

Is there perhaps a limit to how far a dot notation can go or perhaps something I might be missing? Can someone watch a variable and check its changes?
 
Top