Show/Hide Panels - script works for one and not another?
-
Not sure what's going on here but I have multiple tabs (panels) on my interface, I've scripted the 'Global' tab to show and hide with a button, no issues there. The exact same logic is causing an unknown function error for the next tab along.
//Global Tab inline function onGlobalTabButtonControl(component, value) { GlobalTab.showControl(value); //Add your custom logic here... }; Content.getComponent("GlobalTabButton").setControlCallback(onGlobalTabButtonControl); //FX Tab inline function onFXTabButtonControl(component, value) { FXTab.showControl(value); //Add your custom logic here... }; Content.getComponent("FXTabButton").setControlCallback(onFXTabButtonControl);
They're EXACTLY the same, but showControl (despite being filled in automatically) doesn't work for FXTab!
Here's a snippet, just in case I'm being completely daft (overwhelmingly likely)
HiseSnippet 6747.3oc6cszaiikclxtttrksqx0iISljLALU5EtyzsJQIpWnQOk7yp7T9gFK0t5BYBbnktVhvTjJjTtrmdlDi7.HHaxrLMPVz+BFLa6UoVNY2raxf.DTAYY1z+CRtOHEu7kD0qprqltAZTj793bN2y4b+Nm6CUQWqNzvPSmKwB0trCjKwRfpWpZ1ZiVRxpb6rIWhkAa09DnNeEYIUMt0urijgArAWhDy9TbQRrvs3H+8MOYcIEI05PmWwwcjlbc3txskMcdakxOWVQYaoFvZxsYJsX4cpqotglhVWD4LKHMWGo5mI0DtuDtXy.3RL2VMjM0zqZJYBM3Rbq00ZbY0VZuRkV9ijMjOQAhePfqJpgnudaMkFXJF+VtMZIqznhMaavg33JNBgYoBgGB1Stgbu26HLVg7AdmZvJORLiaxaVWjm.K4klg7BfjlkgjtEkjtGnZcc4NlNeASOKB1Q0DpepDRryRJzxxMyucQvFZnRnZlpszYvs0QOzqFqVHc5OhWLc5O7SRhj7Fl7mKoy2VpttFVjav+o7+4OZytFmsozkO5i3ezSUja2Fp+n+hOIYxjao1TVElx.ZRZTnZi8vUzXUm56pYeph1IRJ0jNA0p1jTSn4FZs6nohdX0G0qDO5CwcPxG+XhJG+5cMM0TYZJxqaiFGZ2EwIn1inwhaMWiZq9H2ED2rxpJHpl+ztp0Mk0T40TIkASP5ZJqV2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MzmV3+GJD1dTA
you forgot the const var panel declaration... and I added a radio group for your buttons