11-21-2022 11:28 AM
Can LabVIEW scripting be used to customize individual parts of Controls and Indicators such as adding cosmetic parts programmatically?
Solved! Go to Solution.
11-21-2022 02:21 PM
You can copy decorations from a front panel onto the front panel of a .ctl file.
11-21-2022 02:55 PM
The Control Editor as you describe it (the tool used to modify control parts) does not have a scripting interface.
11-22-2022 01:50 AM
you might want to take a look at the control generator, it lets you create buttons based on set of images, it's a long way from what you're asking but hey...
https://www.vipm.io/search/?q=ui+tools
We have two ears and one mouth so that we can listen twice as much as we speak.
Epictetus
11-22-2022 08:30 AM - edited 11-22-2022 08:31 AM
Thanks for the feedback but the control editor is needed to bind an opaque decoration to stretch with an indicator given a transparent background to work around an old bug (CAR#180305) where LabVIEW would otherwise elevate the z-order of the indicator's value when updated to be above a subpanel that is popped up above it. So rather than fixing the mass of indicators in-place it seems the approach must be to manually create custom control templates then use scripting to programmatically replace them.