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: 

Different background for control and indicator?

The "modern" controls have a nice dynamic behaviour: The background changes when I switch between control and indicator.

different bg for control and indicator.png

 

Does anyone know if this behaviour can be achieved with a user-customised control? E.g. I have a custom control with a yellow background, and when I change it to an indicator the background becomes green.

 

I have tried modifying the light/dark background colours in the modern numeric control but as soon as I change the background colour I seem to lose the dynamic behaviour...

 

 

Note: I am NOT looking for a programmatic solution! I want to harness the built-in behaviour that already exists.

0 Kudos
Message 1 of 4
(2,162 Views)

X-controls support this...
In Façade VI, there is a mandatory event called 'Direction Change', which essentially captures the event that occurs when the user changes the direction of the XControl from an indicator to a control and vice versa.


I am not allergic to Kudos, in fact I love Kudos.

 Make your LabVIEW experience more CONVENIENT.


0 Kudos
Message 2 of 4
(2,144 Views)

That would fall strongly in the bucket of programmatic solutions...

0 Kudos
Message 3 of 4
(2,134 Views)

No free lunch sorry.

 

Shane.

0 Kudos
Message 4 of 4
(2,126 Views)