Editing an UpdatingStringMorph

Ross Boylan RossBoylan at stanfordalumni.org
Sat May 19 00:55:15 UTC 2001


The owner is a TableMorph.  I overrode wantsKeyboardFocusFor: and it 
works!  Thanks.

On the other hand, the TextMorps are not working in the TableMorph.  After 
I type one character the focus shifts to the start of the textMorph.  So, 
for example, if you just type, everything appears backwards.

This is the TableMorph that the swiki page on GUI's pointed to (Table.21.cs).

At 04:40 PM 5/18/01 -0700, you wrote:
>On Friday 18 May 2001 14:11, Ross Boylan wrote:
> > I can't get these things to be editable, no matter what I try.  I used a
> > TextMorph instead before, but this is getting silly.  For example, I want
> > to use the Integer editing subclass of UpdatingStringMorph.
> > I have established a target, get and put selector, growable to true.
> >
> > Any other suggestions?
> > Thanks.
>
>What's the owner? You have to put it into something that knows to give
>mouse/keyboard focus on mouseDown. Like an AlignmentMorph.
>
>--
>Ned Konz
>currently: Stanwood, WA
>email:     ned at bike-nomad.com
>homepage:  http://bike-nomad.com





More information about the Squeak-dev mailing list