With all the new tools - Spec, Brick, Tx, etc - what is the easiest way to do
this in Pharo 4.0? I don't have a preference for the tool as long is it
works in Morphic.
My naive attempt failed:
applicants := PaPerson list collect: #name.
�� �� �� �� entryCompletion := EntryCompletion new
�� �� �� �� �� �� �� �� dataSourceBlock: [ :currText | applicants ];
�� �� �� �� �� �� �� �� filterBlock: [ :currApplicant :currText | currApplicant asUppercase
includesSubstring: currText asString asUppercase ].
TextInputFieldModel new
�� �� �� �� acceptOnCR: false;
�� �� �� �� entryCompletion: entryCompletion;
openWithSpec.
The completion menu appears, but is seems you can only accept the selected
completion via the mouse - yuck!
Thanks.
-----
Cheers,
Sean
--
View this message in context: http://forum.world.st/Text-Field-With-Entry-Completion-Via-Tab-tp4853993.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.