Android Question Dot Notation Limit?

Discussion in 'Android Questions' started by Mashiane, May 9, 2015.

  1. Mashiane

    Mashiane Expert Licensed 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.

    Code:
    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?
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    There is no depth limit to the dot notation syntax. The problem is somewhere else.
     
    DonManfred likes this.
  3. Mashiane

    Mashiane Expert Licensed User

    Thanks Erel, I will surely find the bug.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice