Query.Height

The Query Control Object that is returned by the AddQuery function has a Height property. The Height property represents the height setting of the Queries List box.

Syntax

ControlObject.Height = Value

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

Description

Sets the height of the Queries List box.

Arguments

Value {integer}

Defines the height setting of the Queries List box. This is based on the average character width, so 1 is approximately 1 character wide.

Returns

Integer

Example:

Query1.Height = 80

Where:

  • Query1 is the name of the variable that stores the Query Control Object returned by the AddQuery function
  • 80 is the height setting for the Queries List (approximately 80 characters high).

Disclaimer

Geo SCADA Expert 2020