You are here: Core Reference > Coding > Scripting > RadioButton.Checked

RadioButton.Checked

The RadioButton Control Object that is returned by the AddRadioButton function has a Checked property. The Checked property defines whether the Radio Button is selected.

Syntax

ControlObject.Checked = Value

Where ControlObject. is the name of the variable (declared in your script) that is used to store the RadioButton Control Object that is returned by the AddRadioButton function.

Description

Sets the RadioButton to be selected or de-selected.

Arguments

Value {Boolean}

If set to True (1), the Radio Button is selected automatically by default; if set to False (0) it is de-selected.

Returns

Boolean

Example:

RadioButton1.Checked = 1

Where:

  • RadioButton1 is the name of the variable that stores the RadioButton Control Object returned by the AddRadioButton function
  • 1 sets the Radio Button to be selected.

ClearSCADA 2015 R2