Clickable Text on Checkbox Control in LabVIEW

Updated Dec 29, 2023

Reported In

Software

  • LabVIEW

Issue Details

  • Is there a way of making my checkbox controls have clickable text (i.e. clicking the checkbox text will toggle the checkbox just like clicking the checkbox itself)?

Solution

If you want your checkbox controls to have clickable text, you need to show the Boolean Text on the checkbox (and hide the Label):

undefined

By default, you see the Label and the Boolean Text of a checkbox when you first drop it.  Clicking the label will not toggle a checkbox value at runtime.  So you need to change the Boolean Text to whatever user-visible text you want (typically it's the same as the label), then hide the label.  With this, users of your front panel will be able to toggle the checkbox value by clicking its text or the checkbox itself.