[squeak-dev] Morphic focus
gazzaguru2 at btinternet.com
Tue Oct 28 16:02:32 UTC 2008
If using Polymorph with controls in a window then either you need to set the
focus after the window is activated or, if subclassing DialogWindow,
override either #defaultButton or #defaultFocusMorph.
Otherwise, try sending #rememberKeyboardFocus: with your morph prior to
opening/activating the window.
Focus handling was virtually non-existent in Morphic. Polymorph tries to
help while maintaining some backwards compatability. Sorry it is somewhat
----- Original Message -----
From: "Mark Volkmann" <mark at ociweb.com>
To: "The general-purpose Squeak developers list"
<squeak-dev at lists.squeakfoundation.org>
Sent: Tuesday, October 28, 2008 3:36 PM
Subject: Re: [squeak-dev] Morphic focus
More information about the Squeak-dev