Popup Panel: Noob in need of help



  • Hi all,

    I'm very new to scripting and was just wondering how to create say 3 popup panels, each connected to their own buttons, the buttons work as a radio group, and you can click the active button to disable the popup panel.

    I would try to figure this out myself however I'm in a bit of a time crunch!

    Any help would be much appreciated 🙂



  • @Willem-B Here's one of the ways to achieve popups (not the simplest for beginners but one of the cleanest I think) once you get it, it's very easy to add as many panels/btns as you want, the callback size doesn't change.

    HiseSnippet 1094.3ocsWstaaaCElxNrHVYtXEXO.B4W1nYFx1MsCHaXd9RBLVhiWbaWAJJJnknrIhLofDUR75Bvdz1+2KwdD5afGotXQmn543ko+Xct7wyGOGpCOdnOyBGDv7AZkd8bOLP6qfilS4S6LEQnf9cAZOEdFJfi8MhU0dtGJH.aCzzJdhTgVoc.QOe9GaibQTKblJ.3sLhE9TxLBOS6vV+Lw08XjM90jYJd+hV8sXzNLWVnfOEgl.Oj0knI3AHoaEf.smzylvY9i3HNN.nsSal87QSYWSi8+sj.xXWrTnNXjXghUeLy0VxX46fNSIt1CS22A.wpLLKKTLNK7MvyH1jk5yxFecjAiLDp4CsBqid0Uom4lSOME5sSL8dFbjkOwimYQxs8f8ohBkCRTBToUrufB+VQXGlvCJu1Lzk3i8EBKQT4kllGXbnoY0iJqWVWTHB3FWg7M7PTrafwOX79TvSv7NrYdLpPnx9Ck1que0CJqajyyZ.0Xa.0b+peHhg4gSk2i4z0v51gbNi9kn85vzXKvrFRmutx5DpKghMbBoVbBiZvnITVFGelaEqzfbfX65FhqVV+Sk0KQbLpDKKkhWsnebX9FUHhLh4QFDiuOotVyESmvmJT87muDgBJ4Srmum7gZAhyxow2A4FfqdTra2tZrRPHKA0HTa7Mm6jw2pqtNb+vnkQrD2FkiJqGQ0wFDZTQrpw3ZAxjZj+cPttiEsEpb2Dh7bqR1Z.iiOmVop9mzKoeqtwcM43jqsjEyE6mqYYCK+0ArBMb1XreZMI0QwWtq1ZXuubqA0NWVwGpTbjQ6SI7y8vIxYMOj1h20oVMAK2rppx1ipZi1Z43Vlp62aBjbnWzkpXh6h23Q8ndZROp3pDfH3XIXRICDkcTu5.7.f2HENTKB8C.Zy6.8M86h3HYS1jchX24g84DYMRqK9JwsWwsbKA6hCtjy7DWBs76aw6avl8lkaz+3WZMOSnaKejMgchOKzKt.xw2HumDdQutFCGbpbq8.hTCkH0xcShjNr8ouo2VDplJg5yWuIgZO3IWzq2f6EqciiU4zazjcNhB0tv3aVThzeOQIR+4u15ZhMeprV9WB4oXxjobozuKjHb7rzIIJ8D.XwBvJZanpVkOk9W3SiGC9r.bXd7IU8UoMCzJ9PnVyGkT0h2kapJQsJ0t+bIhoiX1gtH9piLImSLwfnY4JylHm+fFP3yUaF7edNp540qZCo6yfCIbqo4y2B4vWQ2i+u4axTokg8bbvV7LxtC73283NBZtT4BVHmPmbFh6SDmwfCBmMRbxvBKXBUdUu7rTA4GRwxloMXGgo1QBKDOIFqKk0RLVO0HXFxxm8Qq3d4x4d2MRifSznw+KI9eHBYikWd.gl0LAyDii+QKKYp3aEbOeLM1BLM2BLuXKvb3Vf4kaAlWsEX9t0hQ9Og9oPNaV7mIBEC6EccplVOJRbJK5DI3e.ve3JeG
    


  • @ustk Great Thanks! The last feature I'd love to implement is that when I click on the active button, it disables the Panel. Is there an easy way to do this?



  • @Willem-B Sorry the previous one didn't take into account you want to switch OFF the active one, so it's a bit more complicated...
    (You can't use the radioGroup property, because it does not allow you to switch off the active btn (you always have at least one btn ON))

    HiseSnippet 1229.3ocsW8taaaCDmJIpnRctXEXO.b4KyFMK0wooq.sCyM9OcFKwwKtMK.EAYzRzVDQlzPhNNFAAXOZ6QYOB8MH6nnjkbhhQhQi9j3c72we2wS2cpSfvgFFJBPFVeZ5HJx36L6NkK8p4QXbTq5HimatOITRCvZQ6NcDILj5hLLV8iJAFVqghd95usKwmvcnohPniDLG5drgLYpzNU+ClueShK8SrgY18qq1xQvqI7EiA9rpYYzHhyYjAz1D01VwDY7jFtLoHnqjHogHi01U3NsqmXBWu+iXgrd9T0hsPcACoE2T36pXrR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oYmT+QYR06KcegYGU+4746J4vWnfwiMeim6ufYi98oNxTxtlYyie7GxGcnXrjwGrOAZ0C4ZlsGOrKjY3PAlvUMGU0PWQU8UutbRM0tTtazhqgmXkaoVaDqbqDkngDm.woN5x2p+r3oQR.Nwi9AKK3O8f03zdElk2rLZH7COm53nBE+Lv87wTYIvr8Rf40KAlcVBLuYIv7KKAl2tPLp+07Cikhg5OS.AcZD0A0vnAm.YYQYjn+GDfUfvH
    


  • @ustk Amazing, thank you so much for your help!! 🙏


Log in to reply
 

9
Online

590
Users

2.3k
Topics

18.2k
Posts