LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

System Boolean with change text color property?

Can some one make a custom button, identical to the system boolean (border goes blue and the background to a semi transparent blue on true state) but that alows me to change text color? I dont know how to do it

0 Kudos
Message 1 of 5
(3,416 Views)

Silly me -- I thought this was going to be as simple as changing the Text Color property for the Control.  Grrr -- that does absolutely nothing!  Curiously, the Colors(4) also doesn't do what I expect -- I can get different colors for On and Off (but not on the System control ...), but the other two colors, which I thought represented "While Pushed" and "When Released", seem to have no effect either.  I tried this on the Modern control, as well as System, and used the OK button ...

 

BS

0 Kudos
Message 2 of 5
(3,365 Views)

You cannot customize system controls much. They get most of their cosmetic properties from the selected OS desktop theme.

0 Kudos
Message 3 of 5
(3,353 Views)
That is because the colors of a system control are defined by -- wait for it -- the system. That's why they are called "system" controls... 😇

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 4 of 5
(3,351 Views)

You can easily duplicate the desired look of a system control by modifying a regular button.

 

  • Change the background color for the true and false case (or even import pictures)
  • Use an event structure to dynamically change the color on mouse over, etc.
  • use the "boolean text" properties to change the text color on the button.
0 Kudos
Message 5 of 5
(3,347 Views)