I am developing a program to narrow down a selection of countries/cities/areas etc. And am doing this through listboxes. I want to design a new property that uses the selectedIndex to get the selected value or text.
Any suggestions? This is my current code.
[code] import fpmi
data=fpmi.db.toPyDataSet(event.source.parent.getComponent(‘StartLst’).data)
for item in data:
if count==event.source.parent.getComponent('StartLst').selectedIndex:
Root Container.StartLst.SelectedText=item[/code]