VtDrawnListDeleteItem
Delete an item from a DrawnList
Syntax
VtDrawnListDeleteItem drawnlist_widgetName [options]
Description
Deletes specified items from a DrawnList. An error is generated if the
specified items do not exist.
Options
- -all (NA)
- Deletes all items from the list.
- -field column matchStr (NA)
- Deletes the item in which item number column matches
the string matchStr.
For example, if your list contains:
{0 1 "Apple"}
{0 1 "Orange"}
{0 1 "Kumquat"}
specifying -field 2 "Kumquat" would delete the
last item in the list.
- -position integer (NA)
- Deletes the item at position integer. The base
position is 1. To delete the last item in the list, use a value of 0.
- -positionList integer_list (NA)
- Deletes the items in a list at positions specified by the list
integer_list.