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

GroupBox.Text

The GroupBox Control Object that is returned by the AddGroupBox function has a Text property. The Text property represents the text that is displayed on the heading of the Group Box.

Syntax

ControlObject.Text = Text

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

Description

Sets the text that is shown as the heading for the Group Box.

Arguments

Text {string}

Defines the text that is shown as the heading for the Group Box.

Returns

String

Example:

GroupBox1.Text = "Section A"

Where:

  • GroupBox1 is the name of the variable that stores the GroupBox control returned by the AddGroupBox function
  • "Section A" is the text that is shown for the heading of the Group Box.

ClearSCADA 2015 R2