Bug? (Solved) B4i ExpandableTableView class

Discussion in 'iOS Bugs & Wishlist' started by klaus, Mar 20, 2015.

  1. klaus

    klaus Expert Licensed User

    In the attached example with 3 items, all have childs.
    Item 2 has 5 Childs and Child 5 has 3 Grandchilds.

    Click on Item 2 to open it
    Click on Child 5 to open it
    Click on Child 5 to close it
    The problem is that when Child 5 closes Item 3 disappears.

    Is this a bug or what am I doing wrong ?
     

    Attached Files:

  2. klaus

    klaus Expert Licensed User

    Hi Erel,
    I had a closer look at the ExpandableTableView class code.
    In the tv_SelectedChanged routine, changing the line below:
    If c2.CCP.Level = c.CCP.Level Then Exit
    to
    If c2.CCP.Level <= c.CCP.Level Then Exit
    seems to solve the problem.
     
    Last edited: Mar 20, 2015
  3. Erel

    Erel Administrator Staff Member Licensed User

    klaus likes this.
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