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

AVEVA™ InTouch HMI

wcDeleteItem() Function

  • Last UpdatedNov 23, 2018
  • 1 minute read

Deletes the item at a specified position from the list of either a list box or combo box.

Category

windows control

Syntax

[ErrorNumber=]wcDeleteItem("ControlName", ItemPosition);

Parameters

ControlName

The name of the windows control object. For example, ListBox_1. Actual string or message tagname.

ItemPosition

A number corresponding to the position of the item. Any number or Integer tagname.

Remarks

For a list of returned error numbers, see Understand windows controls error messages.

Applies To

List boxes and combo boxes.

Example(s)

The following statement deletes the third item in a list when an action script runs:

wcDeleteItem("ListBox_1", 3);

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