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

RadioButton.Text

The RadioButton Control Object that is returned by the AddRadioButton function has a Text property. The Text property defines the text that is shown next to the Radio Button.

Syntax

ControlObject.Text = Text

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

Description

Sets the string that is shown next to the Radio Button. The text is shown to the right of the Radio Button unless the LeftText property is set to True (in which case the text is shown to the left of the Radio Button).

Arguments

Text {string}

Returns

String

Example:

RadioButton1.Text = "Use Alternate Limits"

Where:

  • RadioButton1 is the name of the variable that stores the RadioButton Control Object returned by the AddRadioButton function
  • "Use Alternate Limits" is the text shown next to the Radio Button.


ClearSCADA 2015 R2