Overview | Methods | This Package | All Packages
Adds an item to the end of the list.
Syntax
public void addItem( String strText )
public void addItem( String strText, boolean fSelected )
public void addItem( String strText, boolean fSelected, String strValue )
Parameters
strText
The text for the new item.
fSelected
Sets the item's selected state. Set to true if the item is selected; otherwise, set to false.
strValue
Sets the VALUE attribute for this item. This is useful for Hypertext Transfer Protocol (HTTP) form submit strings.
Remarks
Adds an item to the end of the list.
See Also removeItem