Remove Item by Index
Use this system function to remove an item from a combo box list by specifying its index position.
Parameters
- Grid Control
-
Input, required. The grid FC to affect.
- Grid Column
-
Input, required. The grid column to affect. Set the parameter to an applicable object from the object list.
- Grid Row
-
Input, required. The grid row to affect (integer). Set the parameter to an alphanumeric constant (<Literal>), <Currently Selected Row>, or an applicable object from the object list.
- 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.