Re: How to get indexes for capi:choice-selected-items
"John DeSoi (as john at desoi dot dev)" <[email protected]>
| Newsgroups | gmane.lisp.lispworks.general |
|---|---|
| Message-ID | <0100019b15fce46b-58f6836c-e6da-48f1-a5da-410078b72b85-000000@email.amazonses.com> |
Thank you! I looked at that documentation page, but completely missed it. John DeSoi, Ph.D. > On Dec 12, 2025, at 9:55 PM, Dmitry Ivanov <[email protected]> wrote: > > John DeSoi (as john at desoi dot dev) wrote: > >> Is there any way to get the indexes of the selected items instead of the items? If there are duplicate items in the collection, I don't see how to determine which one the user has selected. And if the collection is large, capi:search-for-item is not a good option. >> >> My only idea is to have the indexes be the items and then use a print function to display the data. Seems like an ugly hack. > > capi:choice-selection should return a list of indices. > > -- > Dmitry Ivanov > lisp.ystok.ru _______________________________________________ Lisp Hug - the mailing list for LispWorks users [email protected] http://www.lispworks.com/support/lisp-hug.html