ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

programmatically set frontpanel colour

Solved!
Go to solution

 Hello,

 

Is there any way by which i can set the front panel colour. I want to do it programmatically in a lot of sub-vi's.

 

Regards,

Pavitra 

0 Kudos
Message 1 of 6
(3,498 Views)

There is a pane property Pane Color Property to change the background color of a pane.

 

Ton

Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
Message 2 of 6
(3,493 Views)

Hi Ton,

 

I tried using this property. It is giving me an error.

 

Regards,

Pavitra 

Message 3 of 6
(3,487 Views)
Solution
Accepted by pavitrabaxi

Just in case you're struggling to find it.

 

Capture.JPG

 

This code gives me a dirty blue color on the front panel... 

0 Kudos
Message 4 of 6
(3,485 Views)

What error is returned?

 

And could you show a piece of code

 

Ton

Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 5 of 6
(3,482 Views)

Thanks Nitin!!

 

Thanks Ton...

 

I had not wired the property nodes correctly. Hence I was getting an error.

 

Thanks again, both of you!

 

Regards,

Pavitra 

0 Kudos
Message 6 of 6
(3,475 Views)