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

CheckBox.Text

The CheckBox Control Object that is returned by the AddCheckBox function has a Text property. The Text property defines the text that is shown next to the check box.

Syntax

ControlObject.Text = Text

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

Description

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

Arguments

Text {string}

Returns

String

Example:

CheckBox1.Text = "Show Disabled Points"

Where:

  • CheckBox1 is the name of the variable that stores the CheckBox Control Object returned by the AddCheckBox function
  • "Show Disabled Points" is the text shown next to the Check Box.


ClearSCADA 2015 R2