Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ InTouch HMI

​.TopIndex Dotfield

  • Last UpdatedNov 07, 2016
  • 1 minute read

Sets or reads the integer index of the top-most item in a list box.

Category

windows control

Usage

[ErrorNumber=]GetPropertyI("ControlName.TopIndex", Tagname);

[ErrorNumber=]SetPropertyI("ControlName.TopIndex", Number);

Parameters

ControlName

Name of the windows control. For example, ListBox_1.

Tagname

An Integer tagname that holds the property value when the function is processed.

Number

The index number that defines the top-most item in the list box. Can be a literal integer value or a integer tagname or expression that provides an integer value.

Remarks

This property is available only in run time.

Data Type

Integer (read/write)

Applies To

List boxes.

Example(s)

The following statement sets the TopIndex of the list box object "ListBox_1" to a value of 14:

SetPropertyI("ListBox_1.TopIndex",14);

See Also

GetPropertyI(), SetPropertyI(), .ListIndex, .NewIndex

TitleResults for “How to create a CRG?”Also Available in