Re: [Pharo-users] Getting a user input string using Morphs

2015-06-12 Thread Stephan Eggermont
On 09-06-15 20:10, Hilaire wrote: I guess you tried with Pharo4.0. I did with 3.0 It is a difference between Workspace and GTPlayground. In GTPlayground, ActiveEvent is nil, so it doesn't work. In Workspace it works. launchMiniEditor: evt | textMorph | hasFocus := true. "Real

Re: [Pharo-users] Getting a user input string using Morphs

2015-06-10 Thread stepharo
Yes hilaire ActiveHand as a global is a "bad concept" In blog there is not globals anymore :) Le 10/6/15 10:54, Hilaire a écrit : The needed change for this low level access to morph is probably a small one, related to ActiveHand, but I have not yet move to 4.0. In the other hand, you may want t

Re: [Pharo-users] Getting a user input string using Morphs

2015-06-10 Thread Jigyasa Grover
Yep, still exploring ... Thanks Jigyasa -- View this message in context: http://forum.world.st/Getting-a-user-input-string-using-Morphs-tp4831121p4831363.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Re: [Pharo-users] Getting a user input string using Morphs

2015-06-10 Thread Hilaire
The needed change for this low level access to morph is probably a small one, related to ActiveHand, but I have not yet move to 4.0. In the other hand, you may want to use higher level approaches suggested by Pharo fellows. Hilaire Le 10/06/2015 09:20, Jigyasa Grover a écrit : > Yes > I am curren

Re: [Pharo-users] Getting a user input string using Morphs

2015-06-10 Thread Jigyasa Grover
Yes I am currently developing it in Pharo 4.0 Thanks :) -- View this message in context: http://forum.world.st/Getting-a-user-input-string-using-Morphs-tp4831121p4831320.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Re: [Pharo-users] Getting a user input string using Morphs

2015-06-09 Thread Hilaire
Le 09/06/2015 18:04, Jigyasa Grover a écrit : > Thanks HilaireFernandes > But am afraid it gives the error " Message Not Understood: receiver of > 'hand' is nil " . > > > > > -- > View this message in context: > http://forum.world.st/Getting-a-user-input-string-using-Morphs-tp4831121p4831231.html

Re: [Pharo-users] Getting a user input string using Morphs

2015-06-09 Thread Jigyasa Grover
Thanks HilaireFernandes But am afraid it gives the error " Message Not Understood: receiver of 'hand' is nil " . -- View this message in context: http://forum.world.st/Getting-a-user-input-string-using-Morphs-tp4831121p4831231.html Sent from the Pharo Smalltalk Users mailing list archive at N

Re: [Pharo-users] Getting a user input string using Morphs

2015-06-09 Thread Hilaire
You can try and explore something like: *|| m ||** **|m := StringMorph contents: 'Edit me'.|** **|m openInWorld.|** **|m launchMiniEditor: ActiveEvent|* Hilaire Le 09/06/2015 15:25, Jigyasa Grover a écrit : > Hi ! > > I am new to Pharo and am currently working on making an Offline Text Search >

[Pharo-users] Getting a user input string using Morphs

2015-06-09 Thread Jigyasa Grover
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 gr