Forum
    • Categories
    • Register
    • Login

    getChildComponents returns all decendents

    Scheduled Pinned Locked Moved Bug Reports
    2 Posts 2 Posters 18 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • David HealeyD
      David Healey
      last edited by David Healey

      .getChildComponents doesn't just return direct children (as the API doc suggests) it returns every decendent down the chain. I can see this being very useful, but I only want the direct children.

      For now I'm looping through the list it returns and manually checking the parent component but I think this should be fixed. Probably behind a preprocessor for those who have been using it.

      Free HISE Bootcamp Full Course for beginners.
      YouTube Channel - HISE tutorials
      My Patreon - More HISE tutorials

      ustkU 1 Reply Last reply Reply Quote 1
      • ustkU
        ustk @David Healey
        last edited by

        @David-Healey or perhaps adding an optional parameter bool recursive?

        Hise made me an F5 dude, any other app just suffers...

        1 Reply Last reply Reply Quote 1
        • First post
          Last post

        21

        Online

        2.5k

        Users

        13.9k

        Topics

        120.9k

        Posts