LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Customize Mixed Checkbox control

Solved!
Go to solution

Hi everyone.

 

I know how to customize the appearance of a simple boolean control (put image in clipboard, then right click and "import picture from clipboard").

Does anybody know how (if it is actually possible...) to do the same with a Mixed Checkbox control ? I can't find how to import a picture from clipboard (see screenshot).

 

If anybody has other suggestions, how to do that differently, I am all ears.

I need a button with exactly three states. Clicking on the button will just roll between the three states. And I want to avoid radio buttons because they do take more space on the front panel than a simple Mixed Checkbox.

 

Thanks for your help.

 

LucG_0-1662622245479.png

 

0 Kudos
Message 1 of 6
(1,906 Views)

Hi LucG,

 

 

right click checkbox ->Advance..->Customize..

 

You can drag&drop any images from your desktop, or Ctrl+V on the Front Panel.

 

 

FrankenChino_0-1662623888048.png

 

Regards,

FrankenChino

 

0 Kudos
Message 2 of 6
(1,899 Views)

Hi FrankenChino,

 

Thanks for your suggestion, but I don't understand how that helps. When the picture has been pasted, it is still not part of the Mixed Checkbox control. The picture is just on the side of the control. The Mixed Checkbox control itself has not changed at all.

 

If I go back to the comparison with a simple ON/OFF boolean, then I can build the control joined to this message. The look of the button is completely different. I was able to import images and REPLACE the graphical appearance of the button itself. This is what I want to do with the Mixed Checkbox control. Each of the three states of the Mixed Checkbox would then have a specific graphical design that I would have defined and imported.

 

Best regards.

0 Kudos
Message 3 of 6
(1,890 Views)
Solution
Accepted by topic author LucG

Hi LucG,

 

in that case, you might need to customize your function with xcontrol. Or a simply "Button/CheckBox-subVI" with EventStatemachine interact, which can applied in your main VI.

 

xControl

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000x2jVCAQ&l=de-DE

 

Regards,

FrankenChino

0 Kudos
Message 4 of 6
(1,878 Views)
Solution
Accepted by topic author LucG

The Mixed Checkbox is one of the System controls.  System Controls are very limited as to what can be modified.

Consider a picture ring.

"If you weren't supposed to push it, it wouldn't be a button."
0 Kudos
Message 5 of 6
(1,867 Views)

Thank you both for your contributions. I guess that answers my question: Can't edit the Mixed Checkbox directly. Have to find another solution.

 

Best regards.

0 Kudos
Message 6 of 6
(1,860 Views)