ListBox.Rows

The ListBox Control Object that is returned by the AddListBox function has a Rows property. The Rows property allows you to define the number of rows in the List Box.

Syntax

ControlObject.Rows = Rows

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

Description

Sets the number of rows in the List Box.

Arguments

Rows {integer}

Defines the number of rows for the List Box.

Returns

Integer

Example:

ListBox.Rows = 8

Where:

  • ListBox is the name of the variable used to store the List Box Control Object that is returned by the AddListBox function (which would be defined earlier in the script)
  • Rows = 8 sets the List Box to have 8 rows.

Disclaimer

Geo SCADA Expert 2020