From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, 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 the front panel color

Solved!
Go to solution

Hi everyone, 

Is there any way to change the front panel color without using the toolbox brush? 

Thanks in advance, 

regards, 

F

0 Kudos
Message 1 of 4
(6,332 Views)

I have never seen the ability to change the front-panel's color programmatically but in the later versions of LabVIEW you can place a large "decoration" like a recessed/raised/flat box behind everything on the front panel and then programmatically change the color of the decoration. It takes a bit of work to get the reference to the decoration and if your front panel has multiple decorations present then you will need to figure out which is the right one to colorize but you should be able to go for the one with the greatest size if it fills the entire front panel.  The attached VI is LV v2014.

 

Message 2 of 4
(6,316 Views)
Solution
Accepted by topic author feriel0209

Sure you can.  Use the Panes[] property node of the panel.  And the color property on that.

Message 3 of 4
(6,292 Views)

Thanks for you all.

Regards,

F

0 Kudos
Message 4 of 4
(6,242 Views)