> On 09 Jun 2015, at 15:26, Jigyasa Grover <grover.jigya...@gmail.com> wrote:
> 
> Hi ! 
> 
> I am new to Pharo and am currently working on making an Offline Text Search
> Application. 
> I plan to use Morphs to make a nice GUI. 
> Initially, I had thought of using TextMorphForEditView to get an input
> string from the user, but I feel this is not giving the desired
> functionality. 
> Would be great if anyone could suggest a way to get input string from the
> user in the same window using an 'input text box' interface element. 

The easiest (but probably not the prettiest) solution would be to use

input := UIManager default request: ‘please type something…’.

That will handle the dialog for you. Even if it’s not exactly what you need, 
you might get some idea of how to go about it. You should also look into how 
it’s done in other places (e.g. the Monticello browser).

Cheers,
Max

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


Reply via email to