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

AVEVA™ InTouch HMI

​.ListCount Dotfield

  • Last UpdatedNov 07, 2016
  • 1 minute read

Reads the number of items in the list box or combo box.

Category

Windows control

Syntax

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

Parameter

ControlName

Name of the windows control.

Tagname

A valid tagname that contains the integer count of the items in the list.

Remarks

This property is available only in run time.

Data Type

Integer (read-only)

Applies To

List boxes and combo boxes.

Example(s)

The following statement retrieves the number of items in the list box named ListBox_1 and writes that value to the memory integer tag MyListBoxCount.

GetPropertyI("ListBox_1.ListCount", MyListBoxCount);

See Also

GetPropertyI(), .ListIndex

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