If you don't need very specific control over the visuals of the UI I would highly recommend using Spec instead of Morphic.

As for search, you can do something like
~~~~~~~~~~~~~~~~~~~
arr := #('Pharo' 'Squeak' 'VisualWorks').

c := EntryCompletion new
dataSourceBlock: [ :currText | arr ];
filterBlock: [:currApplicant :currText | currApplicant includesSubstring: currText ].

m := TextInputFieldModel new.
m entryCompletion: c.

m openWithSpec
~~~~~~~~~~~~~~~~~~~

If you can describe in greater detail what exactly are you trying to achieve perhaps I would be able to give better hints.

Cheers,
Peter

On Tue, Jun 9, 2015 at 5:46 PM, Jigyasa Grover <grover.jigyasa1@gmail.com> wrote:
Hi Max :)

The alternative works the way I want, but it doesn't integrate well with the
UI I have started to make with the help of Morphs.

PS- Can I use /UIManager/ 'stuff' to make the entire GUI for my application
?

Regards



--
View this message in context: http://forum.world.st/Getting-a-user-input-string-using-Morphs-tp4831122p4831220.html
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.