Method XbpListBox():setItem() Foundation

Changes the text for an item in the list of the XbpListBox object.

:setItem( <nPos>, <cItem> ) --> lSuccess
<nPos> is a numeric value specifying the position in the list of an XbpListbox object of the item to replace with the new character string.
<cItem> is the character string used to replace the existing item in the list.

This method returns the value .T. (true) when the existing item could be replaced, otherwise .F. (false) is returned.


The :setItem() method is used to dynamically manage the list of the XbpListbox object. This method replaces the existing item with a new character string.


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.