Click outside = Close panel - How ?
-
@lalalandsynth The whole purpose of the holder is to handle the callback because you want to close the popup when clicking outside. Or there's something I don't get in what you want to do
-
@ustk That is exactly right. I am trying to implement this into what I already have going , probably doing something wrong.
The holder panel is blocking all sliders on my main interface at all times.
ONly does that in your snippet while button is engaged. -
@ustk Got it , silly mistake ! Thanks guys !
-
@lalalandsynth Note that you should also be able to use a custom laf with a standard combobox or panelPopup
-
Works nicely!
-
@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
-
This post is deleted! -
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 ? -
@lalalandsynth Why not use LAF as @ustk suggested?
-
@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. -
@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.
-
@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
-
@d-healey I can see that I can customize the ADHSR graph , pretty cool , can I also customize the Eq , wavform display and Analyzer ?
-
@lalalandsynth said in Click outside = Close panel - How ?:
can I also customize the Eq , wavform display and Analyzer ?
I don't think so
-
@d-healey Maybe that should be added ;)
-
@lalalandsynth said in Click outside = Close panel - How ?:
@d-healey Maybe that should be added ;)
You have my support :D
-
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!
-
This post is deleted! -
@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
-
@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!