10-12-2017 01:23 PM
Is it possible to change an existing front panel control from Silver to Modern?
I know I can change it for future controls that I create, but I can't find a way to change an existing control.
10-12-2017 01:26 PM - edited 10-12-2017 01:26 PM
Right click on FP element-> Replace -> Browse to the modern version of the control-type...
Regards, Jens
10-12-2017 01:29 PM
Yes, but this is an array within an array and the interior array is an array of clusters.
10-12-2017 01:35 PM
Make it a strict type def, edit the components in the control editor
Be warned. Using replace with... from "Silver" Style can have some odd side effects because of size issues related to the silvery graphics components.
10-12-2017 01:38 PM
I was hoping that LabVIEW would automatically go in an change everything clusters within arrays within array. sigh.
10-12-2017 01:40 PM
OK, that's more difficult to do manually.
Cluster..., is it a type-definition? Then change the type-definition, set it to strict type definition and apply the changes.
For the array (probably not a type-def) and also if the cluster is not a type-def, I recommend:
Right click on FP element -> Advanced -> Customize: Now in the customize window, step by step create the new element, now containing only modern controls (or even better, system (!) controls or with controls of one of the flat control suites out there).
Close customize window and replace the original element.
Similar: Design the control in befere, save it as a *ctl, then again right click on FP element -> Replace -> Select a Control...
Regards, Jens
10-12-2017 01:41 PM - edited 10-12-2017 01:42 PM
I was hoping that LabVIEW would automatically go in an change everything clusters within arrays within array. sigh.
Unfortunately nope...
10-12-2017 02:01 PM
@jg69 wrote:
I was hoping that LabVIEW would automatically go in an change everything clusters within arrays within array. sigh.
Unfortunately nope...
You COULD script that if you had a whole lot of controls you wanted to replace (Like project wide in a large project) Better to have the "Visual Appeal" spec in the first place
10-12-2017 03:12 PM
Just to throw it out there, I know this goes the opposite direction (to silver instead of from silver), but this may get you closer to your script that you want if you feel like going that direction. Though you'd probably have to add some to get the layering to work as well. Have fun if you want.
10-12-2017 03:23 PM
It is more of an aesthetics thing, I am going to leave it alone.
Thanks for all the good suggestions.