How do we get the popup menu selection value from a panel?



  • Hey guys,

    The following snippet contains a panel that has 'All Callbacks' selected in the property editor.

    HiseSnippet 989.3ocsV0saaaCElxIbHVaYacX2r6HxUxXsFxcscCKXXtwIYvXyoFycA8tVFJZKhPQJHQEWif7tzGk9H02f1C0O1LYNYAdaz23ye77wOdNGpwYZFOOWmg7Z+xEobj2WfmrPYhGDSEJzvCQdeCNkp3RRpjtXVltPEgNXQJMOmGg77152r940daT45C+5ATIUw3qTgPmpEL9eHRDlUZG2+2ER4wzH9KEINd+j9CYZ0.sTW.XZKbHJkxNmNieB05VKLx6yNJRXzYSLTCOG4s8A5nESh0yUU9epHWbljaE5gl.aTk5i0xHKhsZQChExnwMm8bDrKiWwDaUwDeKdjHRrT+JF4qKMPVEgKe305tfWOW3EtV3EtN344.usqf2CvSXYhTyJKVr843gJCOaJEtBbgUkunVerEdfF7PY5lPOmebFHrLhfmEF9PxSCC6r+t91evUQtgbAMiL1VC7XxuPZhdF2LPmjpUfPvdUl2qy9NgbPgwnU8t0XpsaCxtp1ht4byHcQNe.UJOCt5ClVnXFgVEv6boOAVhoj.dWlTvNmG0oTkcU9mKWJZhE41M6TprfGzi7nJMyZzzARaiu0HYk62tqvQIWK4cSyDKO2j4zbRMddHbzgXHh7edOx2eOxIKlplwiBrT90NJWsu+UVpwdO3KTRghSZ3BhVUGukZyzx.VCuVCfN9W5eCrVEgKXsHrxaHWPp9Gtmr7Sc9Vd6bSfTeY5.zSzF9KTAV.01+JexMMMc5ZsUueRd1ZMamZjcWAFnJRNim4PGkNBsOWu+De68mtiOXUTiiiZ0Pkv7hTt51Fpfp4Sa+aMp.WMkcueYc2aE6gDPSZabMUhJgr6DTzeM7Ppg1rQvdB4IkmYD1if2g7KfIrUiEZiOjmetQmV5a8kHxampztayPCacaYV2AW03gd6xD99w8WrT3cuo+bQjI1UQLWLKd0v79upepNsHcDWULzvS.H8cXHu9l4ZeSbFm6OEFm6OUbAGAEN54MkOfmeE94RIwQgKpw2Cx5stD0BWgTZFrKtjPyYE82GmBC00QERp45S5sOuUa.Jut1HU6XSUtvrv84u+0i+Wagz8DtO.OVXXwqGusVCdgBp+uwa8io6hOZ5TNyrBraiO9U+29x4ZgxepKLB0rQTSl.JUvmTjLAJFYb.IJnXvNBvqksYsRNzJaYlIbUTovGgUswdVYuZi8ZLhRnrL8qYUs31mq2oTCfIU4WszFOxJSV1YiwgcCQIvWQ7ZFyREOBv95i4waPL+vFDyS1fXd5FDyy1fX9wMHle5Niw9AbOuvnSpZS.EiOpbBqm2QJJTkUVQh9DnKcKfL
    

    It's currently setup to do two things:

    1. On Click - change the value of a button
    2. On Right Click - allow the user to select an item from a popup menu

    How do we get (print) the value of the user selected item from the popup menu?

    Cheers



  • Think I've got it....
    Just discovered event.rightClick


Log in to reply
 

11
Online

672
Users

2.7k
Topics

22.7k
Posts