LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to prgrammatically change the background color of a "number control" inside a cluster

Solved!
Go to solution

Hello,

 

using a property node it is possible to change the background color of a number control.

 

But how to do this, if this number control is located inside a cluster? I could not found the property of the background color (see attached vi).

 

Thanks a lot and best regads.

 

Michael

 

P.S.: I use a reference, because the color change should run inside a subvi.

Message 1 of 4
(3,961 Views)
Solution
Accepted by topic author MichaGue_01

Hi Michael,

insert a "to more specific" function and connect the numeric constant refnum to it. I modified your vi a bit.

See the attachment.

 

Mike

Message 2 of 4
(3,952 Views)
Rats!  Late again.

Backgroundcolor_BD.png
Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

Message 3 of 4
(3,947 Views)

Hallo Michael,

 

you could also create a reference of that specific numeric by right-clicking it (the numeric, not the cluster) in the front panel -> create -> reference. 

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 4
(3,910 Views)