HISE Logo Forum
    • Categories
    • Register
    • Login

    search buttons in viewpoart

    Scheduled Pinned Locked Moved Presets / Scripts / Ideas
    8 Posts 3 Posters 425 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.
    • G
      goldee
      last edited by

      Re: For You: Searching a Viewport

      thank you showing way i can search for lables in viewport is there a way i can search for different button or panels in viewpoart

      LindonL 1 Reply Last reply Reply Quote 0
      • LindonL
        Lindon @goldee
        last edited by Lindon

        @goldee

        ScriptedViewport.getChildComponents()

        HISE Development for hire.
        www.channelrobot.com

        1 Reply Last reply Reply Quote 0
        • d.healeyD
          d.healey
          last edited by

          A viewport can only contain a single component. So you'll need to add a panel to it and put your other components inside the panel. Then follow what Lindon said but change ScriptedViewport for Panel.

          Libre Wave - Freedom respecting instruments and effects
          My Patreon - HISE tutorials
          YouTube Channel - Public HISE tutorials

          G 1 Reply Last reply Reply Quote 0
          • G
            goldee @d.healey
            last edited by

            @d-healey can i have a example to what i need to change

            d.healeyD LindonL 2 Replies Last reply Reply Quote 0
            • d.healeyD
              d.healey @goldee
              last edited by

              @goldee said in search buttons in viewpoart:

              what i need to change

              What do you have so far?

              Libre Wave - Freedom respecting instruments and effects
              My Patreon - HISE tutorials
              YouTube Channel - Public HISE tutorials

              1 Reply Last reply Reply Quote 0
              • LindonL
                Lindon @goldee
                last edited by

                @goldee

                change:

                ScriptedViewport.getChildComponents()

                to:

                ScriptedPanel.getChildComponents()

                HISE Development for hire.
                www.channelrobot.com

                1 Reply Last reply Reply Quote 0
                • d.healeyD
                  d.healey
                  last edited by

                  Ah I just realised you posted a link to a snippet in your first post. That snippet is filtering items in the viewport's list - it's not filtering "labels". What you want would require a fresh approach, I'm not sure you could reuse much of that snippet, you'd probably be better starting from scratch.

                  Libre Wave - Freedom respecting instruments and effects
                  My Patreon - HISE tutorials
                  YouTube Channel - Public HISE tutorials

                  G 1 Reply Last reply Reply Quote 0
                  • G
                    goldee @d.healey
                    last edited by

                    @d-healey thank you

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

                    24

                    Online

                    1.7k

                    Users

                    11.8k

                    Topics

                    102.5k

                    Posts