HISE Logo Forum
    • Categories
    • Register
    • Login

    Click outside = Close panel - How ?

    Scheduled Pinned Locked Moved General Questions
    58 Posts 6 Posters 2.5k 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.
    • lalalandsynthL
      lalalandsynth @ustk
      last edited by

      @ustk Got it , silly mistake ! Thanks guys !

      1 Reply Last reply Reply Quote 0
      • ustkU
        ustk @lalalandsynth
        last edited by

        @lalalandsynth Note that you should also be able to use a custom laf with a standard combobox or panelPopup

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

        1 Reply Last reply Reply Quote 1
        • lalalandsynthL
          lalalandsynth
          last edited by

          Works nicely!
          Betra.gif

          1 Reply Last reply Reply Quote 3
          • Matt_SFM
            Matt_SF @ustk
            last edited by

            @ustk ah yes I used your way for an "About" panel popup in my last project.

            @ustk said in Click outside = Close panel - How ?:

            you'll lose lower Z component access only when the menu is opened, which shouldn't be a problem, right?

            You're right 👍

            Develop branch
            Win10 & VS17 / Ventura & Xcode 14. 3

            lalalandsynthL 1 Reply Last reply Reply Quote 0
            • lalalandsynthL
              lalalandsynth @Matt_SF
              last edited by

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • lalalandsynthL
                lalalandsynth
                last edited by

                In my project the holder panel is called ResizeMainPnl.
                When I drag my sizing panel into that panel it changes the color/contrast ?
                I cannot see why it would do that ?

                Color change.gif

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

                  @lalalandsynth Why not use LAF as @ustk suggested?

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

                  lalalandsynthL 1 Reply Last reply Reply Quote 0
                  • lalalandsynthL
                    lalalandsynth @d.healey
                    last edited by lalalandsynth

                    @d-healey well, mostly because I got this working at the moment. :)
                    And I should be able to put these labels into a panel without it changing the color, would like to know why it does that. stupid mistake, fixed.

                    And finally, I know nothing about LAF at the moment.
                    Can I use that and have the 6 state png buttons , click outside panel to close etc?
                    I thought it was only for svg.

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

                      @lalalandsynth said in Click outside = Close panel - How ?:

                      Can I use that and have the 6 state png buttons , click outside panel to close etc?

                      You can use images in LAF but generally the point of LAF is to do everything with paint routines so it scales nicely and doesn't require any image files.

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

                      lalalandsynthL 2 Replies Last reply Reply Quote 1
                      • lalalandsynthL
                        lalalandsynth @d.healey
                        last edited by

                        @d-healey Yep , indeed. I might move to that but not doing vector GUI for this one.

                        BTW: Solved my color change issue, stupid mistake 💊

                        1 Reply Last reply Reply Quote 0
                        • lalalandsynthL
                          lalalandsynth @d.healey
                          last edited by

                          @d-healey I can see that I can customize the ADHSR graph , pretty cool , can I also customize the Eq , wavform display and Analyzer ?

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

                            @lalalandsynth said in Click outside = Close panel - How ?:

                            can I also customize the Eq , wavform display and Analyzer ?

                            I don't think so

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

                            lalalandsynthL 1 Reply Last reply Reply Quote 0
                            • lalalandsynthL
                              lalalandsynth @d.healey
                              last edited by

                              @d-healey Maybe that should be added ;)

                              Matt_SFM 1 Reply Last reply Reply Quote 1
                              • Matt_SFM
                                Matt_SF @lalalandsynth
                                last edited by

                                @lalalandsynth said in Click outside = Close panel - How ?:

                                @d-healey Maybe that should be added ;)

                                You have my support :D

                                Develop branch
                                Win10 & VS17 / Ventura & Xcode 14. 3

                                1 Reply Last reply Reply Quote 1
                                • trillbillyT
                                  trillbilly
                                  last edited by

                                  So Ive gotten this Click Out = Close Box to work with both @ustk and @Matt_SF snippets, but only with one button. What if I want multiple buttons to have this function? This way users cannot have panels overlapping.

                                  Right now when I try this with multiple buttons, it engages buttons as it should but the panel does not show. This is by trying to use only 1 "ScriptPanel/HolderPanel" as well as one for each button.

                                  Also, it doesnt seem to work when panel is open and you click another button?

                                  Any help would be appreciated!

                                  ulrikU 2 Replies Last reply Reply Quote 0
                                  • ulrikU
                                    ulrik @trillbilly
                                    last edited by ulrik

                                    This post is deleted!
                                    1 Reply Last reply Reply Quote 0
                                    • ulrikU
                                      ulrik @trillbilly
                                      last edited by

                                      @trillbilly try this, if I understand you right

                                      HiseSnippet 1350.3ocsW01aaaCDlJIpKxacXcXebefveHPAoy04k0Mrlz5FmWVvVRLlayZwPQGiDsEWnIEjnRhwP.J1+qAz+C6Ox9G3cjRxR10NM0qIvHP738b2COd73wVQROZbrLBY47r9gTj0mY2tuPEzLfvDnC1AY801M4LuyvGmnhY9TbStLlFiaQDTNZ69gj3XpOxxZ980HrbV.Y96eex1DNQ3QKDgPmHYdzel0ioJj1pwOw378H9zmw5UR6MZbfmTzTxkI.6l2tNJj3cFoK8HhVs4rQV2YWelRF0VQTzXj0BaK862NPdgHU+SXwrS4T8fUQsACkJdOI2WyXsTTy.F2uUdTHFAVoUQLY9zXxWYeHymMTdQr4KLSfKPTNdXM2nza9Qn2pkoW8RzaBTxpDkVHkR2ytsWDKTULilOep8ABEMpCAB6koRptn496EraJAMDpZ8HmQ2KBFLDg6CqW+9X3eK+nJUfPerBeNIBuchRACvagyg1kpdJm2T1KTJfwwtUS0oJ.r.mIA45gYTYTTA5MmnQQMDha0zo0PpTgI3LAE2IQ3oXRAVJxnpFZjj65ki69fo4Izkq7mUb3ROBGy7uD7Ql90XBe5kG2o..XemJNoqfeCz8U0hg8sb6lZLPkT1Lw4tpRkNxHr6oXlH2OKWw4zZw50iQ2lDN+THk1cbha7dkbiSUGJShoC0Ne85ROWyT8Zh0AmNpVOspOOD7DH14AOvwKfBmcuHf4EfC0qGLKFKCoBXZc7V+I3NX05X3KCBK0eDlg2LaCrFmJ5pB.QqrBXVicGFYdkd6ws54oYxUWFu0VXUTBE+DigAawv+.tZUsGtJ0KC4TWt7TXmHTFyLaeKgIQTBV1IEpgrYj7RIXoLepmz318M3akA+Et5nlQ69ueseYg1WLIs+UluJnPmfIoyORYcCToJA+J1CtD+3szTdokv4B1zHXEsyFJsuVs9iHXSifU.+MLRCoDwRNsVXDSm+yD5ZvUWNOfBLhlqZVRTFCg7lSz4htcHfNF.iogW.Qzk56larqpbk4bUoCTGIUziEtljLHkFO9Tc5Lw4xxi4znINstNez0AzUjz6TZT4isZEgheiVQ0d5UTKWv2KsTRIEkhCDL0wPXXZWCfxp+nuPHiUfpJSs2OOq1aZ3DwfRrN1oCVEYnLPMKykXe.PWa1gt9rCciwf97C1gnH56bxB.PPIjFoX53s0NzygKvSuAxwdGZ7YJYH74vJzv2ot7t42OYZSP6wEsMeuJ5xxcDzu7fKzG6JD7xFAlyXkkvTzd48D3bGDZv.s7BoqoEOXvf5ZwmmmOXMO5CfhqUhhu4rFknHqwnT7Mm+NTzeLJNfftEn35kihOtDEaPGih.gFihM9iwn3WN31fhaL0n3QiSQ16ei9elkM56bCNuNsrwWN9V8KZDQ7Yx8ijIg4UMJbk8M378ThGPRz+OKO0jg2dw0Z4O4FTcXZ6g9iuG96uyd3lWqyWb5oOoc9biqS71+ZbWCRftkflxx5YJV6GyqXhwGK38GIe4c6sF5pW5mvIpQa0W+9lrIfaqFo+ZcOzvMyp9ke+yGs9+uoT7d1sXJufIyw4l.Ggx72FbL6US20d2NcndpBBtf8du314IRneQlnXhtGRTQLHww9njdsgpDdTv6Bcia5a3lSe2X5354230lJ7MCfZICxlbU8XqrIWMeRTOhWj70doWtpeW1hFI.mDlmj5XendLtnI.650pi5AOQ70dd5k+2.mAlLl0lALqOCX1XFv7sy.lGNCX9tY.y2esXzuN+oIJYuziCffV6Z5uwxZWAAxrLYgn+CvvMqYC
                                      
                                      trillbillyT 1 Reply Last reply Reply Quote 0
                                      • trillbillyT
                                        trillbilly @ulrik
                                        last edited by

                                        @ulrik Thanks! I'll be out of commission due to holiday festivities for a couple more days but once I return I will check this!

                                        1 Reply Last reply Reply Quote 0
                                        • trillbillyT
                                          trillbilly
                                          last edited by

                                          This post is deleted!
                                          1 Reply Last reply Reply Quote 0
                                          • trillbillyT
                                            trillbilly
                                            last edited by

                                            @ulrik Got it! I just had to switch around the placement of the "holder" Panel and all seems good! Thanks again!

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

                                            43

                                            Online

                                            1.8k

                                            Users

                                            12.0k

                                            Topics

                                            104.1k

                                            Posts