tabbing between fields

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

tabbing between fields

Ralph Boland
In a GUI I have several PluggableTextMorphs and I want to move the
focus between them by striking the tab character.  I couldn't figure
out how
to do this so I set breakpoints in the PluggableTextMorph methods:

    handlesKeyboard:
    keyStroke:
    onKeyStrokeSend: sel to: recipient

but none of these breakpoints were reached.

Then I tried putting a breakpoint in EventSensor>> processKeyboardEvent:
but this lead me nowhere.

Can anybody tell me how to tab between fields or where to find the
documentation on how to do this.


Thanks,

Ralph Boland




--
I've been middle class and I've been poor.
Middle class is better.

Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] tabbing between fields

Javier Diaz-Reinoso
TextMorph>>handleKeystroke:

On 20/01/2010, at 20:09, Ralph Boland wrote:

> In a GUI I have several PluggableTextMorphs and I want to move the
> focus between them by striking the tab character.  I couldn't figure
> out how
> to do this so I set breakpoints in the PluggableTextMorph methods:
>
>    handlesKeyboard:
>    keyStroke:
>    onKeyStrokeSend: sel to: recipient
>
> but none of these breakpoints were reached.
>
> Then I tried putting a breakpoint in EventSensor>> processKeyboardEvent:
> but this lead me nowhere.
>
> Can anybody tell me how to tab between fields or where to find the
> documentation on how to do this.
>
>
> Thanks,
>
> Ralph Boland
>
>
>
>
> --
> I've been middle class and I've been poor.
> Middle class is better.
>