HISE Logo Forum
    • Categories
    • Register
    • Login

    showControl behavior

    Scheduled Pinned Locked Moved General Questions
    14 Posts 7 Posters 974 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.
    • hisefiloH
      hisefilo @hisefilo
      last edited by

      @hisefilo Yeahh! it's working. You are a genius man!

      1 Reply Last reply Reply Quote 4
      • ustkU
        ustk
        last edited by

        Hisefilo, or what happens when you work too long in Hise… 😵 😂

        Can't help pressing F5 in the forum...

        hisefiloH 1 Reply Last reply Reply Quote 1
        • Dan KorneffD
          Dan Korneff
          last edited by

          I did the same thing yesterday... posted help in the scripting forum... and then figured it out! 😂

          Dan Korneff - Producer / Mixer / Audio Nerd

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

            @hisefilo We all do this - https://rubberduckdebugging.com/

            Here is another method. It uses the same principle as your code but can be expanded to include many more panels and buttons and would only require you to change 1 value.

            HiseSnippet 1162.3ocsWEtaaaCDlxwpnVqtnEXO.D8WxHcI1YscCHMnp1IYwXMIFyoAEnqHiVhxhHxjFRzowsH.8QZOB4QZuAYGEkrnSbBh+Q7OL7c7938w6Hu6buDgOMMUjfrpczzwTj0Sr6OkKi5DQXbT2sQVO0deRpjlf0pZOcLIMkFfrrV4OTJrpUEk84+dWaRLg6SKUgPGKX9zOvFwjkZG68mr33cIAziXiLr9Udc8E7NhXwDfOqX2DMl3eJYH8.hxrJ1HqGsS.SJR5KIRZJxpZaQvz9Qhux01eLKkMHlpDZg5CajV8th3.EiUZQchXwA8JN2oHXW5UFEVQGE9Y68YArY5KiFOKaAbIBy3gUk6hdsLoWy6O8rLnWUM8dtce+D1XY4JJt8S1c4PhJj.o.SZosEU4IUs6H.K3x0FQNktaBHLCg6aZ17k3W2rYiMq6T2IgNDyx9EjRRk3yHI3C939mz68GryG5i2Buwl30W+nHJlOYz.31gHDOlvowoqOXhTBXLQpWAP84uroo9bSKVntSnHA6x.4lahY32Z3RPd0UaT2460cvvG8N9Y1W.aKNTCoxNhQiEbPv8E8TV7hUcYq1pg5LoPk6u6BV6LStUbqkprlKSDwcHwwCfKnt9QD9PZl+ZroyEpyAiGy3Tb3DtujI3XCSb80veIDAhmPafyOQ5uiE9j3rHugTv4.cy4vZLd.87CCK1lFp7PWkNUJPaDVFQjXYBa3PZBM.DoX+b1Z5r0WeOV.ECqTjgHbv5IIbXuByzOKYpr+5YGMn0ho7gxnhDjxv7izbIp0RgGB4gN2PRbJsH5dyH7wpHiayBCtvjzrPraVjCu0V3V2tCCNedWJSffsJXodPpsJ6.AFt.ZjgtfH5DkBa6EFeKhsX.AVJzIVX2zj24hYWCD7CDR5gb2FNe2olyENWekvvEsT9QHllrnUUEQStCXt5WnE22xsCpkLewJ6auXkYsTe8qFCCE7tbl7vwT9sUBCk+TCJlUImTfoxrRYOMuTlNxhXPEqZ1ZgVnLFCJdTQ6DzR.eiE.+ic2lHIphp4TBn4XZhjoh.VaSOC5VoKwVydaZ5oRwXHPMq7.z.5dv5ym0R6xddSK6usm2WYAxnRE+iWDkMLxn03a8PFNyQ6r5EU6U2Yy70isy9soq9QaCW482WyU68iq6JuXOljNpnaaYLpT6FlpkzykkFe0UWQUZOq3Rh0JKCw2vj3dFD+xOcMh+u2f3WF3MPjDPS5y9lwvCO6FGmqZtviiV8sP7p2iaUFoW17oWzM6TCyKHBlDSjyODgZxo7Ef2py0sV0QlmxjSMmr5AYxh6KcetcOlzOZw7sxB3q5c9CLeymSqt8NggTeYIYqZu6md3GJC8WhIRFe39DnK.bgv9fIi5C2w7o.S3pFPfNqJpBVZ4lJYUjoOkGjI.OgtJewVJYq7EaUrHZDwOQbRded0jfONSCvId1.w0fIyAY7r5jJdOBFO8DeeUf3W.luXDarzH90kFwqVZDudoQ7lkFwuszH986.g5+B79IRwH8yBPQucxZvXYsCm.2pxtAh9e.HjLlMC
            

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

            hisefiloH musictopM NatanN 3 Replies Last reply Reply Quote 7
            • hisefiloH
              hisefilo @Dan Korneff
              last edited by

              @dustbro a classic!

              1 Reply Last reply Reply Quote 0
              • hisefiloH
                hisefilo @ustk
                last edited by

                @ustk true :)

                1 Reply Last reply Reply Quote 0
                • hisefiloH
                  hisefilo @d.healey
                  last edited by

                  @d-healey hehehe like that website. Cool snippet! Saving into my snippet folder :)

                  1 Reply Last reply Reply Quote 1
                  • ustkU
                    ustk
                    last edited by

                    Is showControl(bool) more efficient than the set("visible", bool)method ? I'm always using the latter...

                    Can't help pressing F5 in the forum...

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

                      @ustk I'm pretty sure that they are equal in terms of efficiency. It wouldn't suprise me if showControl is just syntactic sugar for set(visible) or vice versa.

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

                      1 Reply Last reply Reply Quote 0
                      • Christoph HartC
                        Christoph Hart
                        last edited by

                        Link Preview Image
                        HISE/hi_scripting/scripting/api/ScriptingApiContent.cpp at master · christophhart/HISE

                        The open source framework for sample based instruments - HISE/hi_scripting/scripting/api/ScriptingApiContent.cpp at master · christophhart/HISE

                        favicon

                        GitHub (github.com)

                        Line 751 reveals the answer ;)

                        1 Reply Last reply Reply Quote 3
                        • musictopM
                          musictop @d.healey
                          last edited by musictop

                          @d-healey just what i needed, seems to be an elegant solution for my new project... will try it, again thanks a lot David!

                          "Here is another method. It uses the same principle as your code but can be expanded to include many more panels and buttons and would only require you to change 1 value."

                          my website: https://musictop69.wixsite.com/ilirbajri
                          https://musictop69.wixsite.com/creatools
                          https://musictop69.wixsite.com/orchestools

                          1 Reply Last reply Reply Quote 0
                          • NatanN
                            Natan @d.healey
                            last edited by

                            @d-healey Thank You David, Very Handy Script :)

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

                            45

                            Online

                            1.7k

                            Users

                            11.7k

                            Topics

                            101.8k

                            Posts