Hi With reference to my earlier query 'Getting a user input string using Morphs' <http://forum.world.st/Getting-a-user-input-string-using-Morphs-td4831121.htm...> I have come across 'PluggableTextFieldMorph' which seems to be the one I was looking for. Could anyone pls help so as to how could I use the 'getText' method to retrieve the user input string. Thanks Jigyasa -- View this message in context: http://forum.world.st/Using-PluggableTextFieldMorph-tp4831375.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
Jigyasa Grover wrote
Could anyone pls help so as to how could I use the 'getText' method to retrieve the user input string.
The best Smalltalk teacher is usually the image :) Browsing references to PluggableTextFieldMorph (cmd-shift-N on Mac), it seems that many users send #on:text:accept:readSelection:menu: to supply the model info for callbacks ----- Cheers, Sean -- View this message in context: http://forum.world.st/Using-PluggableTextFieldMorph-tp4831375p4831394.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
Hello, you can have a look at Rubric too. see RubTextFieldExample. also RubPluggableTextMorphExample. to see rubric text field in action within a user interface. Cheers Alain
On 10 Jun 2015, at 13:35, Sean P. DeNigris <sean@clipperadams.com> wrote:
Jigyasa Grover wrote
Could anyone pls help so as to how could I use the 'getText' method to retrieve the user input string.
The best Smalltalk teacher is usually the image :) Browsing references to PluggableTextFieldMorph (cmd-shift-N on Mac), it seems that many users send #on:text:accept:readSelection:menu: to supply the model info for callbacks
----- Cheers, Sean -- View this message in context: http://forum.world.st/Using-PluggableTextFieldMorph-tp4831375p4831394.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
better use rubric because we will remove PluggableTextField... and friends. Le 10/6/15 11:40, Jigyasa Grover a écrit :
Hi
With reference to my earlier query 'Getting a user input string using Morphs' <http://forum.world.st/Getting-a-user-input-string-using-Morphs-td4831121.htm...> I have come across 'PluggableTextFieldMorph' which seems to be the one I was looking for. Could anyone pls help so as to how could I use the 'getText' method to retrieve the user input string.
Thanks Jigyasa
-- View this message in context: http://forum.world.st/Using-PluggableTextFieldMorph-tp4831375.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
participants (4)
-
Alain Plantec -
Jigyasa Grover -
Sean P. DeNigris -
stepharo