Beginners Unanswered Questions

Hernan Tylim htylim at gmail.com
Tue May 9 20:21:07 UTC 2006


Hi, about this one:


On 5/9/06, Ron Teitelbaum <Ron at usmedrec.com> wrote:
>
>
>
> http://lists.squeakfoundation.org/pipermail/beginners/2006-May/000052.htmlhow to set the focus on to a textMorph
>
>
ActiveHand newKeyboardFocus: aTextMorph.

ActiveHand is a global which points to the HandMorph instance of the active
world (you can also access this instance from inside any Morph with
Morph>>activeHand)

BTW, when dealing with keyboard focus remember that Squeak has a "keyboard
focus follows mouse" policy. So even if you are setting it up
programatically any other morph might steal your keyboard focus. (try it
with a browser, start typing inside the text pane and move your mouse to any
of the upper lists).

Regards,
Hernán
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20060509/6203f251/attachment.htm


More information about the Squeak-dev mailing list