I’m having a problem compiling code involving ListBox.Selected which is used in the ListBox.Change event handler. The relevant code fragment is:
dim SelectIndex As integer
SelectIndex = me.Selected
The second line produces the compiler error “There is more than one item with this name and it’s not clear to which this refers.” I’ve tried changing to other ListBox properties (me.Value, for example) without error, so the offender seems to be the Selected property. This is with Xojo 2016 R3 on macOS 10.12.
Any suggestions?