weird open/close tab Panel issue
-
Hi there, I've made a Button that opens a Panel with 6 Panel Tabs inside. When I open the Panel none of these Buttons is pressed. When I reopen the project and click the Open Button nothing is pressed. Is there a way that it keeps the tab open which is selected when I close the Panel? or a way that always the first tab will be opened when the openPanel button will be pressed? another weird issue is that sometimes I've to click thru all the tabs to reopen the first Tab again.
HiseSnippet 1161.3oc0XFtaaaCD.lxIZyxscnEnO.BACENHcF1INoCHMad1IYvXKIF0NYqnnHiVh1lHxjdRztwXH.CCC64XOJ6MX6QXOB6MX6nnjEkicxrQyPl9k4w638cGoNwyM74Njf.tOxvp03ADjwCMaNlI5UqGlxP02GY7gl6zB2N.Uc7.bP.wEYXrxWJmzvZUT3ye84UwdXlCIQDBcFm5P9ZZepHQZiJeE0y6PrKoEsul1kqT2gypw83CAPVwrHZ.14BbWxwXoZYLQFevAtTA2uo.KHAHiUqxcG2rG+cLk9mQCns8HxAkPMgERI9PtmqjXoTTsdTO2FwAb.BVkFIg+Jpv+olGQcoSjmjFdb3D1IVnmOLxjFuURgWIc7Jpg2LPxPCoUUH8DylN9zAhjYj77.y5LAwuCFR65nnzEk42WwrFGzfIJzGeA4PeXvDKx+hsK9b6sKVb8cykCR8AB6QXe6FXFwaG68risrKQTi2e.mACxulZ50.aRL4jADVn74Z0DMVKsyN9ziNu5osZcxwMAa2QeQaOTHfAf327Vc4CjKSr3bc3914ovnh6ZSseo9BBB1Xi0y8C4rgmnU6Mz2NWFqFpxZ1a.K35.lRyTN6lrREUoLJwWEBj5xD9buZXOu1vA57blxQQxAatJWNJyixH1cFxbDTNydJkx6D6vmC4.ugDYXY4wcvd1T2KA3h7YAJykb4IcRL.VeKqbVSmmTAVAOBqqnWTlRxtJakJzKD.mgiAIza6YSiB0qGtmIwS5o8BI6YOKBXk9WkyZ1g6jCH2XDqN7kBn3UGV0a8n2r2Nl10quqFWGyEjSX4C8N3C6ompSmYNWzR4Q7m4zxJe92jg4YC62l3qG6REgxAoqwXN+ZL5k.cTYFME4r5LpPF5yqvHJJcB+5z56iEXYgoHYfdCH9BpDAi8Iifp7pxTVl6SBtPvG.ErmrG.e9PDN6ihKhIy1HJTpJqoZKEcYxGB93JimL327q7Npqn2DA+wuToGg1sm1GTnUFEG0PQ3Gp41rJ29QQtU8JUnesLUCJp63szcb6obL50WyweVkAXevQ5dLNdBviH0YM7IvQt357KBXkz.qx2svfcc2OeTWLv1TGL18Hv1RCrGO5dDXk0A6p6QfssFXY+o+y.y5VJFj5cxxZXg1eJr90e9ZX85Js49tD+WgcoCCzuK57gaj9EyVDRKc2PZJdd+jS27+Mjt08lc+r2BokmGo+Xs6FRWjz312a1vMmacnGXN4pWZz9meudknuYFkYPWu8HnwLt6POrHc2ZxVTil.tdUpVjjsAwBnhw5sv9dqEt+sH9DyFTgSuYyXlYvHbIr6BFiZ78QlGzoCwQj.3plG9s2Mc4hdEenfx5dDV3SgseyiG1uIz6uCA7NS16AHyHi7hnpwEkikYflDla3f+FdhlrjbrQzjkhmD0G63yO2QcoZYq0YCk.LwB+WErLORN1tDJ7h1fclEKTD0G5x+bGGY3+IvcimsMatD1r0RXS4kvlsWBa1YIr4EKgMe5MZi7OX4KFJ38UuN.BZbPX2GFFGvvvIqvSgn+A.WyOd7
-
@treynterrio I've tried saveInPreset and
onButtonControl(buttons[4], true);
-
Try this
HiseSnippet 1274.3oc0XttaaaCEGmJIZKxscHEXO.DA6C1HAo1I1oCH6hWbR5L1bhQcZ2JJBxnkniIhLoFEkaLFBvvvvdN1ixdD1ivdD1av1gRx1zN14hyZmq+j4k+myOdzQGRw5RgKMLTHQVNG2KfhrdncidbU6JsILNp5dHqksCHbpeHZ2dAjvPpGxxZwmoG0xYIT7u+9K2k3S3tzgcgPuTvboeKqCSMr25k+Flu+ADO5wrNFytX4ptBdEguHBHYQ67n.h64jynGRzSaAaj0GruGSIjMTDEMDYsztBudMZKdCOY9ujExZ5S0MJfZ.FJo6CD9dZh08hpzl46Uu+JNDAVo9v0+hIq+O1tFyiMn+gwgUhG.OTgY7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uLxUWnudBdHS0yr33+YWsxsEwGaWmobaOYFWXBLBmC7sAioWH0ir2uUKpqZHfKYev2+141mPOWDoX7ypQTRF7329vnNMDQRWJ3cd7s.BYSKnSlRZmue1UCJ2Ktw+.+RGrftsU5fE5OHpCwUJN0M4725q7Z43d.l3w21micMca7D9XiNLO1ottiZpqHbyYU3VypvhypvRypvsmUgOcVE9o2rP8Ej9UQJQmjWaPnZ02O9Ckrr1mSfLv3rUz+BPDsiGG
I've set the buttons to be in a radio group and enabled Save in Preset for the buttons and panels.