Method XbpListBox():setItem() Foundation

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

Syntax
:setItem( <nPos>, <cItem> ) --> lSuccess
Parameters
<nPos>
<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>
<cItem> is the character string used to replace the existing item in the list.
Return

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

Description

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.

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.