Overview | Methods | This Package | All Packages
Updates the attributes of a particular item.
Syntax
public void setItem( int index, String strText, boolean fSel, String strValue )
Parameters
index
The index of the item to be updated.
strText
The new text of the item.
fSel
The new selected state of the item.
strValue
The new VALUE attribute of the item (for HTTP form submissions).
Remarks
If index does not correspond to an item currently in the list, a new item with the specified attributes is added to the list.
Specifying a parameter as null leaves its value unchanged. Use an empty string ("") to clear a string value.