List Box Object - Remove

Removes items from a List Box Object.

Action ID:
Action Category:
Action List Syntax:

120
List Box Object
ListBoxObject.Remove (<<ADDTYPE>>)

Settings

List Box

Name:

The name of the List Box Object.

Remove

What you want removed from the List Box Object. Choose from:

Current item

-

Remove the currently selected item(s) in the list.

All items

-

Remove all of the items in the list.

Specific items

-

Remove the item(s) at the index(es) specified in the Index field below.

Index:

The zero-based index of the item you want to remove from the List Box Object. To specify multiple items, use a delimited list of indexes.

This field is only available when the Specific items option is selected above.

Delimiter:

The delimiter that you used to separate items in the Index field. If the text in the Index field is not a delimited list, you can leave this field blank.

This field is only available when the Specific items option is selected above.

Error Codes

Value
(%LastErrorNum%)

Simple Message
(%LastErrorMsg%)

Verbose Message
(%LastErrorDetails%)

0 (OK)

 

 

1

MSG_ERR_LIST_BOX_OBJECT_REMOVE_ITEM

MSG_ERR_LIST_BOX_OBJECT_REMOVE_ITEM
MSG_ERR_OBJECT_NOT_FOUND
<<LISTNAME>>

2

MSG_ERR_LIST_BOX_OBJECT_REMOVE_ITEM

MSG_ERR_LIST_BOX_OBJECT_REMOVE_ITEM
MSG_ERR_OBJECT_NOT_FOUND
<<LISTNAME>>

Examples

Adding items to a list box (with data)

Clearing a list box

Displaying a list of open windows