You are here: Core Reference > Coding > Scripting > EditBox.Lines

EditBox.Lines

The EditBox Control Object that is returned by the AddEditBox function has a Lines property. The Lines property represents the number of lines permitted in the Edit Box.

Syntax

ControlObject.Lines = Value

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

Description

Sets the number of lines for the Edit Box.

Arguments

Value {integer}

A number that defines the permitted number of lines in the Edit Box.

Returns

Integer

Example:

EditBox1.Lines = 4

Where:

  • EditBox1 is the name of the variable that stores the EditBox Control Object returned by the AddEditBox function
  • 4 is the number of lines in the Edit Box.

ClearSCADA 2015 R2