[ENH] Mouse Click Focus Policy option.
Steve Swerling
sps2000 at mail.com
Fri Aug 31 16:06:36 UTC 2001
Russel,
The walkback you saw stems from a call to a method which was not
introduced until after update 4081, PluggableTextMorph>>selectAll. I
should mention the required update number in the future.
To fix it, you can either comment out the call to selectAll that I make
from FillInTheBlankMorph>>getUserResponse, or add the method "selectAll"
to PluggableTextMorph (it's a one-liner, shown below).
Thanks for the feedback. Let me know if you have any more problems or
suggestions for the click-to-focus focus style.
Steve.
=== PluggableTextMorph>>selectAll ===
selectAll
textMorph editor selectAll.
=====================================
Russell Allen wrote:
>
> Hi Steven,
>
> This is a very needed changeset, thank you!!!
>
> I tried it in a 3.1a image @ update 4081; however the
> FillInTheBlankMorph doesn't work anymore :(
>
> Cheers,
>
> Russell
>
> sps2000 at mail.com wrote:
> > This change set adds a preference called ""mouseClickFocusPolicy"" in
> > the morphic tab of the preferences window. If unchecked, behavior is
> > identical to the standard focus policy -- the pane that the mouse is
> > over gets keyboard focus. If checked, the user must explicitly click in
> > a pane to set the focus on that pane -- the location of the mouse does
> > not effect where the keyboard focus goes.
> >
> > I have been using this focus policy for awhile now, and it''s solid --
> > for me. There are bound to be little snags, which I will try to fix as
> > they are reported.
>
> ----------------------------------------
> Russell Allen
>
> russell.allen at firebirdmedia.com
>
> ----------------------------------------
More information about the Squeak-dev
mailing list
|