LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Change an existing controls style

I'm in the process of upgrading a large application from LV 8 to 2011. I would also like to update the UI to use the System control style instead of Classic, which is the current style. Is there a way of modifying a controls style without having to right-click on each control, selecting Replace, and then the control you want?

 

Thanks

0 Kudos
Message 1 of 5
(5,356 Views)
0 Kudos
Message 2 of 5
(5,335 Views)

I got a script started for you. For the script, you just need to do duplicate case for each type of controls that you want to modify.  I already did the numeric and string cases for you.

------------------------------------------------------------------

Kudos and Accepted as Solution are welcome!
Download All
0 Kudos
Message 3 of 5
(5,329 Views)

Your utility works nicely! Thank you.

0 Kudos
Message 4 of 5
(5,315 Views)

For the Style's property node in your script, there is a Values[] property.  Can you tell me how you create it?  I can't find that property.  

------------------------------------------------------------------

Kudos and Accepted as Solution are welcome!
0 Kudos
Message 5 of 5
(5,307 Views)