Method XbpListBox():insItem() Foundation

Inserts an item into the list of the XbpListBox object.

Syntax
:insItem( <nPos>, <cItem> ) --> nItemPos
Parameters
<nPos>
<nPos> is a numeric value specifying the position in the list of the XbpListbox object where the new item is inserted.
<cItem>
<cItem> is the character string to insert as an item in the list of the XbpListbox object.
Return

This method returns a numeric value indicating the position in the list where the item is found after the method terminates.

Description

The :insItem() method inserts an item at any position in the list of the XbpListBox object. This method is used along with :addItem()and :delItem() to dynamically manage the items in the list.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.