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

RadioButton.LeftText

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

Syntax

ControlObject.LeftText = Value

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 position of the text that is shown next to the Radio Button.

Arguments

Value {Boolean}

If set to True (1), the Radio Button has its text shown to the left of the Check Box; if set to False (0), the text is shown to the right of the Radio Button.

Returns

Boolean

Example:

RadioButton1.LeftText = "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 to the left of the Radio Button.


ClearSCADA 2015 R2