From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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,409 Views)
0 Kudos
Message 2 of 5
(5,388 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,382 Views)

Your utility works nicely! Thank you.

0 Kudos
Message 4 of 5
(5,368 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,360 Views)