Remove Item by Index

Use this system function to remove an item from a combo box list by specifying its index position.

Parameters

ComboBox Control

Input, required. The combo box FC to affect.

Index

Input, required. The zero-based index position of the item to remove (integer). Set the parameter to an alphanumeric constant (<Literal>) or applicable object from the object list.

Optional

Input, required. A special value indicating whether to remove all items. Set the parameter to <Remove All> or <N/A>.

Additional Notes

You can also clear all items from the list. If the index value specified is invalid and the Optional parameter equals <N/A>, no item is removed from the control and an error message is logged.