I have a situation where I want a Racket GUI combo-field% (or some other GUI element) to allow the user to select an exact item (uniquely matching a database key) from a list that is too long to display all at once. I'm thinking that some form of auto completion would be best. In Framework, I see that there is an auto-complete method in text% but I don't see a way to give it a specific search space to work from. I see the opposite. You can get the list which it is auto completing from but I don't see how to set it.
I mention combo-field% because the equivalent item in the LibreOffice database module does what I want. I had a LibreOffice document which was connecting as client to a PostgreSQL database. The combo-field list items were populated with an SQL query which got all the official human gene symbols from the database. At the time there were something like 40,000 unique official gene symbols. The user could start typing and it would reduce the list, as you go, to the remaining items that match. Also, when there are too many items to display at once, LibreOffice only displays the first 10 or 20 items in the combo-field menu and gives you a scroll bar. This worked out pretty well for that use case. I now have a very similar one. What would be the best way to handle this situation? The user needs to select an exact item from a database but there are too many items for a simple menu. James -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.