Problem with duplicate item in selection-list widget.

Posted by dnessapkota10 on 20-Jun-2013 07:32

Hi all,

How can I find the index-position of currently selected item of selection-list, if there are duplicate text appeared in selection-list?

Thanks in advance.

Regards,

Dinesh

All Replies

Posted by Thomas Mercer-Hursh on 20-Jun-2013 09:20

Why would you ever present a selection list with duplicates?

Posted by dnessapkota10 on 20-Jun-2013 23:18

Hi Thomas,

I had built the multiple statments in the selection list widget, while selecting one it will be appeared in combo-boxes with their respected values. Something like following,

( IF   test1= '1' THEN '1;'

ELSE     '' )

( IF   test2= '1' THEN '2;'

ELSE     '' )

( IF   test= '3' THEN '3;'

ELSE     '' )

...

...

In this case I would like to get the position of  line 4 or 6 how could I get the position of that line?

Thanks,

Dinesh

Posted by Thomas Mercer-Hursh on 21-Jun-2013 09:35

How is the user supposed to know whether to pick line 4 or 6 if they are identical?

This thread is closed