OptionList
Protected Class OptionList
Description
OptionList is a class representing options in a DesktopPopupMenu.

It can be either an array of values and optionally tags, or a boolean (True/False)

Usage in a cell is :

celltype(10,10)=CellTypes.Popup
cell(10,10)=new OptionList(1,array("this","that","the other"))

result=cell(10,10) //returns the item at index 1, "that"


If a cell has no optionlist, but is a popup type, the columnTag
will be checked for an optionlist, and if found, the column's OptionList
will be cloned for cells in that column as needed.
Methods
AppendOption
Adds an option to the end of the list with an optional tag
Clone
creates a copy of this optionlist
constructor

creates a yes/no OptionList
Creates a new optionlist with the given values and the default index passed
Creates a new optionlist with the given values and the default index passed
Creates a new optionlist with the given values and the default index passed
Properties
Index
The currently selected index
Options
The list of options
StringValue
returns the selected item as string
Tag
the tag for this list
Tags
the tags for the set options
Value
the seleted item as variant