Change Combo Box Items With Buttons



  • Is it possible? Please see snippett

    HiseSnippet 965.3ocsV80aaaCDmxNZqVatqEXO1GDzSN.YAxZscEnXXN9eYdsI0XJqX.aCczRzwbQhTPhpMFE8619nrOB8aP2cRxRJt1oYdH9gCl2c+N8iGu6HmFK8XIIxXhVqyVFwHZeot6RgZwfETtfLYHQ6t5mPSTrXybU8WFQSRX9DMslGiJzZsGI626+g9z.pviUohPdoj6wdNOjqpzNs2y3AAio9ry3g079g8l3IECjAxTfOM0sIQTuKnmyNkht0Pmn8Yi74JYrqhpXIDs85K8W5tP9FQt+ujmvmEvvEcItPfxUOVF3iLF0RFrfG3Oc09Ng.QYZUVnYdV3q0Og6yK0WkMtWlAyJD0yGZMtN50sN8ru4zSqF81Kmd2W20KlGoprfb6KzmHfCp4T3HnNsx8kz3AM0GHAODpCCoWvFGCKJQz4w11GX9Ha68eZai1FvAQhx70T3XWFNSNSdYWyu2bE7yYJPcjT.K5XU5g05XcogQALWlZ6fqbIC8Fv57ow5rF1jLCgznD7C+aVGYcfoUeTL.ECQwHTLFEGa8GaAsSF5eDcZBJ9IT7LT7bTbBJNMCcaipMxgIHKEpXYv.ZPvLnHtSk0A8QtxEAbAybdpvSwkBy5163kC9.fMAor8aa711FkIYL5cr3JVXB74qsSO7ujbQGqeWXsO9Ed2UHky0RJmOAob1UR4rNoJisTbpTwdgny9Fu0nkw6LLW2z74azVwlHfEuQy3Hk3qCXGQZ3LV7p8wJGgdqq17pu8l25yV7xqLq4nTLQvUuHhI1VKMonbFZtaVvJ3eprV66UzZmkZ6Kujv8wN6xLMIi10m5RVOD2sHD8SUJoHK.vT8xBr+2QvYUDz0xBvuLYHUQwIUE6KXuFwhUbLMpMj8Z3Jf74VszGxRtPIix13E8wDs6bC25WVR5+1s2xxE+IuGjnABfkeDsuR+Hi9FCLFZLxXrwwjP5kHU+bvS9l8fTiK52rb3VnBIpWL0mKONVlFs53++XvcpEbxY0B9+D+wA+iua.tgR5mFPUW8ZK7t5BCP6vUte.uCPjvUKqWSbqbW1Mkt2WeJW4sXy7swF3KT7cay2hWFzVez74LOUEY2Se7ud6+L.xOKSUbw4mPUwbrf9zzPW3gRdLfIBAK.GYo0.Gtju1dU+oKS3ms3CvuBicw0ZEF6txHzp3EKeUwjd7sG2ISCvIQ1SvZAuEDVaVNCQW29PaRH7jnW44gohuA39lw3rCX91c.yC2ALOZGv73c.y2sCXdx0hAeM5QoJYXdaBnX5nrowZZiDTnJKqhj7unD07nD
    


  • Doesn't seem to work after init callback. Easiest solution is to use two comboboxes.

    HiseSnippet 1015.3ocsV0uaaaCDmxIZqlatqEXO.D8uTP5LryZ6FPVwbscblWaRLlxJFPQQAsDsMQnHEjnxrQgA1i19+8RrGg8FrcTeXIm5DXCrH.Ci66e73cGuQQJOVbrJBYU+xEgLj0WZ6tPpm0aFkKQC6irdn8YzXMKhjwp6hPZbLyGYYs2oFFV02Gk98O+XWpfJ8XkrPn2p3dr2vC35Rti57ZtPLf5ytjGTQ6m0YnmR1SITI.d1ytEJj5cEcJ6bpQsZ1HqO6DetVE4poZVLxZ+tJ+EtyT+tLS+2xi4iELCQajK3nL1CTBeChMbQ8lwE9iJN2wHvKiJyB6kkE9Z6y397U7KyFOJU.ozhp4CqZ2E7ZWEds1d3YUAd6mAuGa65EwC0kRLX6KrGJgKpIT3JnJrxzEU6upY2SAZH0MCnWwFDADqrv4EsZ8Txya05fiafafgKhXM4ZZDYbhVCDjWRd26Otp.OUvX0X0b1JYMvSTQDGNP25XBm7Cjif+N7vCZf+XCLA9xc163uGzo.LSY5dpfPkDHbdhKMHTvbY5mbnC+v1GXvy5l1L1XfTGoD8nBwXnHwwaFUNk0KGRE1TBw6JhEVsJf3klyBWJ3RFYRhzSyURx5gvwqvAOExFhDV4gjOg3TvxPmy17ITdTAg6OG.S9ApIW5ylewjRGVf9RytYZs7b0TvjS0yJRyEFTIjeRdnYLTQlm+bRgxKIb3PWn7R3WJwR7xUGdk7bklcgz4.7Gw0wKwjaJZxjMJKOPBVzFEal.DcWF5HSBFyhJRxEJBsBq2qYe68ZUGE3kUATQQkbnjquHjIusNPTdYiYTQNp.U0ochOJuSLsrnqZNh6aZDKpRZiRgc0gjnczEGsEt3g4tnaZIUpCf43EMRq.gsUpC1Mq2T7+0g8oZpY1TdpARWgrHM2bSX0mcMLzOaRUc69r3qzpvzbWdANvdKydyWE1+zsyhUD+AuCbWA.PyBfH9U1uB2E2C2GeBd.9TT.ct4v94fl7Mqw0EUGV6gp.qGrk2H++AqeBOD+y3WieC9L74npXwd6tZuEnfB6DQ84pSiTIg2n1Y2BQ0SK5xJg3uitsP7oOXAOap7SDT85ukZVfHW.zzu1iVlGljwb8hpd9d4A1sEtO1dDW6May3s1FvKzebei270UZXexjILOcIX22dvuc+uaB5WTIZtb5YTcD2TbedRfKr8lGCPhTxDlAyV0LybxnaULDxkI8SI9W3KWXaCsUtv1EBg1FuH0G7xFZYVH5Aob.LIS2KrNrfJPSVMlyf6.XKsO34YRDeCf7MawQ6rEe6Nawy1YKd9NawK1YK9tc1hu+NrvrR7qRzpfr1BfwnSRefvx5DIEppRq.Q+G7JTR3C
    


  • @d-healey I'm trying to load 300 maps into various samplers using categories instead of huge drop down lists to make the UI more intuitive for the end user.



  • I confirm I couldn't find a way to refresh the combobox elements neither...



  • @Tod-Slaughter Why not use the preset browser?



  • @d-healey said in Change Combo Box Items With Buttons:

    @Tod-Slaughter Why not use the preset browser?

    Because it's a mix and match elements style plugin rather than a fixed architecture



  • @ustk said in Change Combo Box Items With Buttons:

    I confirm I couldn't find a way to refresh the combobox elements neither...

    Thanks for trying my friend. How's that vst3 export going?



  • @Tod-Slaughter said in Change Combo Box Items With Buttons:

    @ustk said in Change Combo Box Items With Buttons:

    I confirm I couldn't find a way to refresh the combobox elements neither...

    Thanks for trying my friend. How's that vst3 export going?

    We're on it 🙃



  • @Tod-Slaughter I think @Lindon did a similar thing and made his own preset browser using viewport + panels.



  • @d-healey said in Change Combo Box Items With Buttons:

    @Tod-Slaughter I think @Lindon did a similar thing and made his own preset browser using viewport + panels.

    Do you think it might be possible to use multiple combos attached to each sampler?



  • @Tod-Slaughter Not sure what you mean. If you mean have multiple comboboxes that the user can use to select a sample map for a particular sampler then yes.



  • @d-healey yes that. I guess the last touched combobox would set the current samplemap



  • you can reset the contents of the combobox by setting items to ""



  • @Lindon said in Change Combo Box Items With Buttons:

    you can reset the contents of the combobox by setting items to ""

    Not sure how that'll help?



  • @Tod-Slaughter "Change Combo Box Items With Buttons" . <- its the first step of this...



  • What about this:

    HiseSnippet 1147.3ocuWstaaaCElJIZqlatKEXO.D5Wx.oo1YscEnXXN9VpahSMl5BFPZPGiDcBWjHEjn6hQPem1ivdj1av1g5dbrSRMPlfAAubt7ctPdNdbjzkEGKiPF0d+rPFx3aMclITm28bJWfF1CY7XyQzXEKhjtUmYgz3XlGxvX88zaXTaCTx2+7ycn9TgKqbKD5HI2kc.OfqJ2cb68499Cndr2yCpP8yaOzUJ5J8kSA7rtYSTH08B5YrCoZxVyDY7U883JYjihpXwHiM5H8l4bt7OEozeDOlepOSunExADT51Cj9dZDqmi5dN22abtcGi.oLtzKrdpW36MGw83E6W5M1L4.RIGU8GFqcavqUU30bgvq0hfmQE3sQJ7dhoiaDOTUdhFaei4PADnlPgPPUXkRKZs+xzrqDnPn1NfdAaPDrnfC6W1r4VjWzrYiWWGWGCAhXE4STHrKCNUdp7RxOQx49LlB1MTJfE1V4DXMOmwzfPeV.MLF383is10ZKhUG8PW8PO8Pe8v.8vdVmrUcLYIeGa8FMQC0CuUOrud3.8vH8vgVmbxbp2IQ8NLkV6KF5EjzxpwxU9cv6NVMRUc5NQZ5RmNhFd.OVYm5Xpie1yHNLelqhzERPNSFMqNlK74BFYxTgqhKEkntaGavVTQR+s.yweJqQc7UoXL2iucLC.BWwBh09fj.PNnSmwmPrKj3wMOQisizBytQiqpXh.xFNnT2sHw.NULu4k2x0dYvVql+PxE1VePX0nJlRl7YByOlQthbGeyAocRfj6phoVWGSoHoNF9MQFQriI7Jt9FjXsf5l596R88OEdHxtRnAjPQH8.I0iTDvuYDU+jVJ5xDHDWyxhtQj8gHdkmV5C3r.l1WKdcbg+qTejmRZcx+OQu6DgstMDVDKArVMOX9v2MhC4WKqDoNTpXuSX2.eEtF9yXx7GMYxBOKSffMrvi0k4htMFsESCNkEkmNjSH7d+0KnXt7BJUq24l9fUEBkhgBt5cgLwxJyfxdkCJ3rdFpfYpjxMalUtIw+0QdIhC0Uvl4tSTBpq1H.ZdI73LIzYpRIEI7CMZTj9lKASiDA7kw8NKP++5vdTEUW7Lyr.SMjEo3ZunQO1mftRRKkVyrGK9BkLLwtytWhLdz8yxurPq+sS6YEK9cdavMC5W+PDx36L2E2A2E2C2GO.uGJfdo1V+ZfRdNEuAOD+V793CvivGpcAEPw794BWBT1LrcD0iK2KRNMbtXzWlJ1YYpHLdYp3lct.8OI8l5SUWuoJcmjYG.WLtV2K5NTDwb0rpR9AoSq6Kbeh4Xtx87Ei20V.dg7vGZ7l02Zcy9Sl.uyVB1MLG7aO7Moh9E4TEWb1HpJhqStObZfCzFuKCPhP.0LzI7qouamttY9kcGlvKYw+BeYG1Ru1H6vV4GBWabijeLqoHcmwOJYG.Shj+fPM3ep.qIkOmX1b6ln.ng8O55pcEOEv9h4YmUfmeXE344q.OuXE34kq.O+3JvyqtUdz+WocmpjAoWSfMF2O4gYCi9BJjkkjQh9OTry2sC
    


  • @ustk said in Change Combo Box Items With Buttons:

    What about this:

    HiseSnippet 1147.3ocuWstaaaCElJIZqlatKEXO.D5Wx.oo1YscEnXXN9VpahSMl5BFPZPGiDcBWjHEjn6hQPem1ivdj1av1g5dbrSRMPlfAAubt7ctPdNdbjzkEGKiPF0d+rPFx3aMclITm28bJWfF1CY7XyQzXEKhjtUmYgz3XlGxvX88zaXTaCTx2+7ycn9TgKqbKD5HI2kc.OfqJ2cb68499Cndr2yCpP8yaOzUJ5J8kSA7rtYSTH08B5YrCoZxVyDY7U883JYjihpXwHiM5H8l4bt7OEozeDOlepOSunExADT51Cj9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0LzI7qouamttY9kcGlvKYw+BeYG1Ru1H6vV4GBWabijeLqoHcmwOJYG.Shj+fPM3ep.qIkOmX1b6ln.ng8O55pcEOEv9h4YmUfmeXE344q.OuXE34kq.O+3JvyqtUdz+WocmpjAoWSfMF2O4gYCi9BJjkkjQh9OTry2sC
    

    Very slick, teaching me new stuff 😂 😂



  • @Lindon said in Change Combo Box Items With Buttons:

    @Tod-Slaughter "Change Combo Box Items With Buttons" . <- its the first step of this...

    So empty the combo first and load the new items second. It works but it's ugly 😂 😂 thanks man!



  • Anyone having the same idea, here's the solution:

    HiseSnippet 1000.3ocsV8taaaCDmxNpsVaoqEXO.B9SJ.YAxZscCnXXN9eYdsI0XJKX.aEczRzwbQhTPhpKFE4UaXOJ6QXuAa2IIKo3ZmlXf3Obv7t62we2Ix63jXoGKIQFSzZc5hHFQ6y0cWHTy6OmxEjwCHZOV+XZhhEalqp2hHZRBymno07HTgVqcHY+92uuGMfJ7XUpHjyjbO1q4gbUk1IceEOHXD0mcJOrl2Oq6XOonuLPlB7ootMIh5cA8b1ITzsF5DsGLzmqjwtJphkPz1omzeg6b4eJx8+LdBeZ.CWzg3BAJW8HYfOxXTKo+bdf+jk4cBAhxjppPy7pvWpeL2mWpupZ7jLClUHpWOzZbSzqSc5Ye6omVM5sSN8dptqWLORUYA41moOV.enlQgOA0oUtujF+US89RvCg5fP5ErQwvhRDVuv1deymaau2K20XWC3CQhx78T3ytLbpbp7xNlem4R3myTf5Ho.VX0tzi1qh0kFFEvbYpMCtxkLzqAqymFqyJXSxLDRiRvM9WaeX68Ma2CE8Qw.TLDEiPwQse6FP6jg9GPmFiheDEuBEuFEGihSxPuqQUhbPBxRgJVFzmFDLENDaUYseOjqbQ.WvLmkJ7TbovrtcKubv6CrIHksGF8O.PlYZsTgI7CTUV4wszpMWwBSPNkUN1fwZ0lC9CIWX092Ds26i.bFtSVcP83lcERhqtVd5bi4oymHOcVWddejkN2sr7pRpJEmHUr2Hr1y3CFsLtxvbUSylsVaE0j.V7ZMiM8huIfVhzvor3kkkkNB29ud6E8M2dod2Ou76N0bTJFK3p2DwDapoCo3BGz9oYAqf+oxZ97jhlOYExdxKIber2SYckjQans9CzVNEX0P73hPzKUojhr..ycJuBTFgxIK2wH3rZDfe+73ATEE6mVjaP9FwhUbrTpMf8dXPUd20V5CXIWnjQYIeQ2Fh1itko+kka6e61cQ4hem2EJ1.AvSnDsuP+PidF8MFXLzXjwQjPJfSW6gfm706AoFWzuc0wMPERT2XpOWdTrLMZkx7caKbpsEjSqsE+S7l1hOdZFLSU5mFPUWePK95hBCv0iqMQCmZIR3pE0i78xz2aKcep9Dtxa954ai0vW3f38MeKdKyt5CmMi4opH6N5i9k6+GtP9IYphKN+XpJliGtOIMzEdZmGCXhPvBvVXZMv1C4qsw0XkwkI7yV7evuBicv0ZEF6rzHbswKV9thAI3qkdTlFfShrGM1Bd8Jr1rrmhtt8A1jP3QbuyyCKEeEv80iwYKv70aAlmsEXd9Vf4EaAluYKv7s2HF78yGlpjg4WS.ESFl0YVSanfBmxxNQR9e.qyRZSB
    


  • @Tod-Slaughter said in Change Combo Box Items With Buttons:

    So empty the combo first and load the new items second. It works but it's ugly 😂 😂 thanks man!

    Yep it's ugly, that's why David's approach is better
    With two comboboxes, you keep the last selection existing in the hidden combobox, so you can quickly switch between two samplemaps from different categories. That's the choice I would make...


Log in to reply
 

20
Online

540
Users

2.0k
Topics

15.9k
Posts