Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 67020

Custom Bool Control with Decorations

$
0
0

Alright so I've been using these for quite some time but only recently realized I don't actually know how they were made.  I can't seem to track them down to a specific file, as they're usually just copy pasted across.  It's a Boolean Control that seems to be made up completely of decorations, but these decorations act as a single object.  When the state changes, the entire decoration object changes it's color.  It's not an image either, as you can right click->properties to change the color of true and false and it changes what the decorations object uses.  I've been able to somewhat replicate it by replacing the light part of a boolean control with a decoration, but I can't seem to make multiple decorations be counted as a single copy to import onto the control.  Any ideas what they did?

 

True:

EthanHenry_3-1731967473496.png

 

False

EthanHenry_2-1731967463952.png

 

 


Viewing all articles
Browse latest Browse all 67020

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>