ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

DIAdem Help

Object: RadioButton

  • Updated2024-09-12
  • 2 minute(s) read

Object: RadioButton

The RadioButton object corresponds to the RadioButton control in a user dialog box. You use the RadioButton object to define a radio button to be displayed in the user dialog box. A radio button consists of several selection terms that are mutually exclusive. To specify the number of buttons, the selection terms to be displayed, and the associated return values, click ListItems in the Properties tab.

You can use the properties Picture and PictureOffState to specify the graphics for the states selected and not selected.

The following example displays the On.bmp picture if a RadioButton1 selection term is selected, otherwise it displays the Off.bmp picture:

RadioButton1.Picture = "\SUD\On.bmp"
RadioButton1.PictureOffState = "\SUD\Off.bmp"

Properties Only Available on the Properties Tab

Flex | InterpretedTextEnabled | Layer | ListItems | Variable | VariableColIndex | VariableRowIndex