• Dynamic Sub ComboBox

    Scripting
    7
    0 Votes
    7 Posts
    190 Views
    Matt_SFM

    @Christoph-Hart Perfect, it's working now with your fix. Thank you very much!

    ComboBox1.set("items", itemList.join("\n"));

    Yeah, I almost never use this method, I didn't thought about it. Thank you also for the reminder :)

  • WaveForm Selection Menu

    Scripting
    6
    0 Votes
    6 Posts
    339 Views
    d.healeyD

    @trillbilly Avoid scripting something if you can. Here's how to do it without scripting, just connecting the controls in the interface designer.

    HiseSnippet 1054.3oc0WssaaaCFlJ1LH16.ZGZw1k5hcQJPWgkWW2.1E0M9PmwpSLhxZ2cELR+1lHRjZTTowqnuM6AYOB8QnOB6MX6mR1QRcJdtZqYa9BC9eh7i+GolpjdPbrTQrZcxxHfX8gT2kB8h9KXbAY7.h0GSmvh0fxNi0AKiXwwfOwxpwiMLrZ0jj962d3Ar.lvCxYQHOUx8fmvC45btS6887ffQLe3DdXAsueuwdRQeYfLAwSCZGRDy6L1b3PlQscnDqcG5y0RkqlogXhUyCj9KcWHegHS+mxi4mF.FBGhKtQYrGIC7MH1vkzeAOve556cLgXQml6EZj4EtEcB2meI+buwMREXmaQQ+g0NkgWiRvy4pfWEPxp.jZlAoaRc8T7HctDCd9.5XAFblwP2dQnjoKw5Wo8knBB88BYmAiTHwkFr+C5z4t13e24amkH7zbovVJNTpgiD6em1urcq1ups8aKZ1rJkYNFkLH.TUJ1DoUaxv8EIgmBp6ZeNKHAtTQ75W1mt614S8xt0ETTJFK35ihfUzaNofrxsYhEqPHppNMRbiUQh9xvSkGHufv8MAh0jNjzqPwBCxOLd.SyVuY39hmUDnzbyUxZ.bNVkjElaQG.wmokQo5FFIEFTXs2VdzWfoyV+BdnKMKT3hn02pwnp2l9L14vLoJz9wf.TLzy5fkYJrBCyJFmtaFUFgp3P3ZHDAXepKW.sOQwYh4APaW1KZ69SILEz9PIONWhcWbIKB9YI221ov5tjPVJz1KsAveJ4FKqj9IAF3TrVyzfYk.LYoTBtIKVDy0KK5meGJ.6rwBvsEh2jNkq8VTMF2oBLho.uOv3p1VeDc3rYfmNGfMoi9w51iZ6O9amc7YoNoyORO7py1t5IHudamfDs0SPNxSiP.SDEwQxXvo3N+Vx5VT1.PmHJqdFqRZkWoTHIbMyBZtWuoLQoMCoKsSS3WjS9lGNTvvffKf2F+ih8vKqw2U7TllDDCOi6qW3Tzvb1cKx96XJeLt3UJQrwlFldkcVKWSVP+JFis66qIqM2tr1+hd7+2uOToGBzZMFc4gQAvPw4P.NEIEieBN1XFKIPula45rIRgLZgTvKkAbLnU74ygRIVUdgdjViOEKmys5cLD.r3B0dedumfCIXJzOA0zW7t+nnJiWeFMCt1llC1+chaWqoYabVRisZVx+33s9yUtlqPw9m++IR+oTrmdW6zvs8+9w6ikIZtX9DF1Mv7HsCSBcwAnd.hXg.BhMObaGyahyn6XnMvwED9oD+N9akPGCs0JgNqEdsbFgLOk74dYuV2zvXuTN38Vj9AjsvujEosu7A5TZm60gDhicdtmmIm9KP+S01zsF17k0vl6WCa9pZXyCpgMecMr4a1nMlI9OJQKCyx+QFSGl9gRVVYu.JsTf7G.p8vXUC

    To do it with scripting you'll need to use the setAttribute function to assign a value to the waveform attribute of the waveform generator. At the moment all you're doing in your combobox callback is calling the getId function which doesn't do anything. Also you're passing a parameter to the function which will produce an error because that function doesn't take any parameters - check the docs.

  • 0 Votes
    11 Posts
    572 Views
    trillbillyT

    @d-healey Perfect, appreciate it man!

    @MikeB Im already on it!

  • One panel multiple popup menus

    Scripting
    9
    0 Votes
    9 Posts
    616 Views
    d.healeyD

    Yeah this example (built on your snippet) demonstrates the issue. Clicking on a menu item opens the popup but all I want is to trigger the callback. The work-around obviously is to not store the menu items in the panel, but this is the perfect place for them :)

    HiseSnippet 1528.3ocsWs2aaaCDWJMZn1cYcEXe.3LvJjZ7brcR5ikETm5jrZrkVu31thk0UvHQaSDYRAI5j3FDr9Ed.6av1QR8f1wIqv.k+CEui2wi+tG5X2XtOIIgGaYW5UShHV1eoSuILwv1CwTlUmcsr+JmCvIBR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