09-08-2022 02:36 AM
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.
Solved! Go to Solution.
09-08-2022 02:59 AM - edited 09-08-2022 03:01 AM
Hi LucG,
right click checkbox ->Advance..->Customize..
You can drag&drop any images from your desktop, or Ctrl+V on the Front Panel.
Regards,
FrankenChino
09-08-2022 03:23 AM
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.
09-08-2022 03:53 AM
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
09-08-2022 06:26 AM
The Mixed Checkbox is one of the System controls. System Controls are very limited as to what can be modified.
Consider a picture ring.
09-08-2022 07:23 AM
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.