|
Hi Hernán, I tried this already and was really
confused by it. I used a paste up and two text fields. I found the method valueAtCursor
which returned the active text field, and by following what the code was doing
with tab I found this method. I expected that setting the keyboard focus
through an inspector that something would happen. Nothing did, even
valueAtCursor didn’t change. I noticed that moving my mouse stole the cursor
but I figured that since valueAtCursor didn’t change that it didn’t
work the way I expected it too and there was more to the story then I
understood. There was a bunch of other code besides this method, so I figured
there had to be an easier way! I would seem to me that having the mouse
steal focus would be a disaster for forms and business UI’s where using a
mouse in most cases is not recommended is there a way to turn that off or
disable it while in a Morphic? (Until another Morphic is selected) Is the answer for Marcus use MVC or
wxSqueak? Thanks, Ron Teitelbaum From: Hernan Tylim
[mailto:[EMAIL PROTECTED] Hi, about this one: On 5/9/06, Ron
Teitelbaum <[EMAIL PROTECTED]>
wrote: http://lists.squeakfoundation.org/pipermail/beginners/2006-May/000052.html
how to set the focus on to a textMorph ActiveHand
newKeyboardFocus: aTextMorph. |
_______________________________________________ Beginners mailing list [email protected] http://lists.squeakfoundation.org/mailman/listinfo/beginners
