use by formula, LotusScript, etc.:
Place the following code in the onChange() event of a listbox (replace the
field names with the names of your fields).
objForm = document.forms;
objForm.txtListSelectedIndex.value = objForm.lstListName.selectedIndex;
You can then use the value in the selectedIndex field to determine which
element is selected. This would also be possible on the web with previous
versions of Domino, but not in the R4 client.