That looks very cool, how about adding it to the standard distribution?
On Mar 7, 2016, at 16:21, Stephan Eggermont <stephan@stack.nl> wrote:
When using data entry applications, we often have to select one entity out of a large list. Spec provides the entryCompletion option for text fields for that. That works well for small lists When the number of different entities grows large however, or when we want to be able to add a new entity, the traditional solution is to combine an entry completion field with a button that opens a dialog. This is what SelectEntity provides. In addition, it supports limiting the choices shown based on the context in which the field is shown.
I've created a small demo application that can be found on smalltalkhub:
Gofer it smalltalkhubUser: 'StephanEggermont' project:'Ancestry'; package: 'Ancestry'; load.
It can be started with:
ANPersonList new openWithSpec.
Stephan
Thanks to Peter Uhnak for the design comments & debugging
---> Save our in-boxes! http://emailcharter.org <--- Johan Fabry - http://pleiad.cl/~jfabry PLEIAD and RyCh labs - Computer Science Department (DCC) - University of Chile