panel value privacy?
-
Ah just saw your post: https://forum.hise.audio/topic/2761/custom-look-and-feel-per-component/2
was this ever implemented?
-
@iamlamprey This is the PITA when you first start that I warned you about :p You can use the text property of the control to differentiate them. But what if I want to use the text property to show some text I hear you ask... then you have to get clever with substrings.
-
@d-healey buttons can't have .data can they? sheesh
-
@iamlamprey Nope that's just a thing for panels.
-
You don't just have to rely on the text property. Think outside the box, what other aspects can you use to distinguish one control from another...
Do you have some really thin sliders and some wider ones, then all you need is an if statement to check the width and you can now tell them apart. I'm doing this in a script right at this moment ;)
-
@d-healey Yeh nice, doesn't seem too bad :)
-
This post is deleted!