Can I Customize System Radio Button Control?

Updated Jul 17, 2018

Reported In

Programming Language

  • LabVIEW G

Issue Details

I would like to use the mutually exclusive functionality of a radio button control in my program, but I would like to use a different Boolean style than the radio button control that comes with LabVIEW. Can I modify it or create a custom radio button control?
 

Solution

Radio button controls use the system radio button, which in itself is not customizable.
However, you can add any type of the Boolean controls to the radio button control.

There are two methods for modifying their appearance.
  1. Place a Radio Buttons box on your front panel from the Boolean palette. 
  2. Expand the Radio Buttons box and drag any boolean control into the Radio Buttons box's border.
  3. Delete the original radio controls out of the Radio Buttons box and add in any additional boolean controls

A second method for modifying the radio buttons is as follows:
  1. Place a Radio Buttons box on your front panel from the Boolean palette.
  2. Right-click on the radio control and select Replace»Boolean
  3. Select the boolean of your choice, the new boolean will follow the same behavior rules as the previous radio controls while inside of the Radio Buttons box.

Additional Information

  • A radio button control is a special container for booleans where only one boolean can be true at a time. 
  • The radio buttons in the Modern and Classic palette sets are also not customizable since they all use the system radio button inside.
  • The radio button control cannot be empty at any given time.

WAS THIS ARTICLE HELPFUL?

Not Helpful