Custom Searchbar for Viewport possible?
-
If I want to add a custom search bar to search samples in viewport is it possible ?
-
Yes.
A viewport just shows whatever you want it to show. Presumably you are populating it with values from an array. So you need to write your search algorithm to filter the values in the array and then update the viewport with the filtered values.
-
@d-healey Can you explain it with a minimal snippet ?
-
@DabDab Here is one method
HiseSnippet 918.3ocsV02ZaaDF+jSTnRacrB6Cfp+mICYF6strBgQyhiyvrjTScWYvXTNe5QVG4zch6N0XuQ9xsOPi8MX64jjqUZMYsFlvXcOuc2umWOMUqXfwnzDufWtp.Hdep+rURa1nLJWRlbFw6y7ujZrfNpl0oqJnFCjP7716GcL7B1mT872O6TpfJYvFVDxqTbFbAOma2vc5I+DWHNml.ujm2R6mbxDlRNRITkHd1ye.ofxtlt.th5TqiOw6fwIbqROyRsfA04TUxpYYpaj05+JtgOW.NhgjY3FUylLJiKRlt1WMDh29S2346U64eg+k7D9a4uIB74UBh1XQ6XfWm6CRC+HfjWKHseMjdj+LllWX2HwgmOwehDSHoTLT2FJ05R5bTG+QJTCoseN8Z3bMR7VKhOZvfCiv+5cbXHFtM1HpjmSElnuO5W6lnVz8vntLp08ZNWm3dmxMYt2nz0KQMVuzVpsBn6ugaXHWJ3RHJsTxrbkLRIufNGDCc.RqDwLUdgRhP6vn2PEkPuv+HLPnXTQjFLkBqCEtcJHUoihWFwkqwWuv.T2.dZT7iGKWfGC5dVVFXdAr.VFuruUcg5FPOhZf3dqO.zrf.zQsbYIbLRf+pOp9Eklr3kXfH31PjMhQiR.8KzboM1pcQqZM6g5bKBp0g0EfczZGItasG1sWeiickeNhJDywh232w+w8oUn4JkEdtLtJFDdaXz6JJMcqxZ1KAn2pXWSk99LLVVlOGzsy.NEwpt6VJevGVoLqNnzRQkbhjaedAzPetRj3JQcqe+BeRSTEW8ySNiZotdgFdndEf1xcvw6L3M3vj5Ni.+y.y0VUQktMoBjssR5Ca5aph8DNdzOvuNOPVR7789R7rV4VbLt3FdhMyQ7mdDRFvWjYcTInHKrDWefuqOfLew5QSAGfx9K2HqTDly3+dqgXO8Dx62GiSPTIkBp8tiUbyOaDfIn6zK65WkFtcU64qeDyZFbuyZ9Pg3i7mxwNrsiwNaAiXp6+CL1Lg9g9iSSAlcC.22+7eYWGG+eb7uPUhiLVbI0p4thlqJymgYeFfmtTBBiqHoiq7sldfi1EAlAxjJh+AeZDNzQ60Hb3ZgjbJSqdMqtszcGvCp3fXRVckW.d2KRGMjT0ph14On+.RNdczqYLm6+UXG01s4q2Aa9lcvlmrC17s6fMGsC17c6fMO8dsw8k.+PoUkW2NfLlNtZlkm2XIEqrppBI+Kf1C0HX
-
@d-healey said in Custom Searchbar for Viewport possible?:
@DabDab Here is one method
HiseSnippet 918.3ocsV02ZaaDF+jSTnRacrB6Cfp+mICYF6strBgQyhiyvrjTScWYvXTNe5QVG4zch6N0XuQ9xsOPi8MX64jjqUZMYsFlvXcOuc2umWOMUqXfwnzDufWtp.Hdep+rURa1nLJWRlbFw6y7ujZrfNpl0oqJnFCjP7716GcL7B1mT872O6TpfJYvFVDxqTbFbAOma2vc5I+DWHNml.ujm2R6mbxDlRNRITkHd1ye.ofxtlt.th5TqiOw6fwIbqROyRsfA04TUxpYYpaj05+JtgOW.NhgjY3FUylLJiKRlt1WMDh29S2346U64eg+k7D9a4uIB74UBh1XQ6XfWm6CRC+HfjWKHseMjdj+LllWX2HwgmOwehDSHoTLT2FJ05R5bTG+QJTCoseN8Z3bMR7VKhOZvfCiv+5cbXHFtM1HpjmSElnuO5W6lnVz8vntLp08ZNWm3dmxMYt2nz0KQMVuzVpsBn6ugaXHWJ3RHJsTxrbkLRIufNGDCc.RqDwLUdgRhP6vn2PEkPuv+HLPnXTQjFLkBqCEtcJHUoihWFwkqwWuv.T2.dZT7iGKWfGC5dVVFXdAr.VFuruUcg5FPOhZf3dqO.zrf.zQsbYIbLRf+pOp9Eklr3kXfH31PjMhQiR.8KzboM1pcQqZM6g5bKBp0g0EfczZGItasG1sWeiickeNhJDywh232w+w8oUn4JkEdtLtJFDdaXz6J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