03-21-2025 09:37 AM
@maxnoder1995 wrote:
I’ve written a program that positions each Boolean control directly below a String control on the front panel.
Is this the best approach to do it?
Why?
Select them and use Align.
03-21-2025 09:50 AM
@maxnoder1995 wrote:
I’ve written a program that positions each Boolean control directly below a String control on the front panel.
Is this the best approach to do it?
I guess yes, if it works as you want. It really depends on your actual need.
Why do you want to position your booleans dynamically? Your string controls have to be positioned manually anyway...
Also, if for some reason the tabbing order is not right, you will have mixed string-boolean associations. You may want to use a logic on the names instead. For example: "Boolean1" goes under "String1", "Boolean2" goes under "String2", etc...
Wouldn't a transparent array of cluster be enough?
03-23-2025 11:40 AM
@maxnoder1995 wrote:
I understand. Is there a way to retrieve only the "top-level" controls in the top method? Additionally, is there a way to determine the order of the references returned by these two methods?
I don't know what you are trying to accomplish, but each G Object has a unique identifier.
Maybe you could put that to some use.