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

CheckBox.LeftText

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

Syntax

ControlObject.LeftText = Value

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

Arguments

Value {Boolean}

If set to True (1), the Check Box 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 Check Box.

Returns

Boolean

Example:

CheckBox1.LeftText = 1

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 to the left of the Check Box.


ClearSCADA 2015 R2