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 awkward!
Regards, Gary.
----- Original Message ----- From: "Mark Volkmann" mark@ociweb.com To: "The general-purpose Squeak developers list" squeak-dev@lists.squeakfoundation.org Sent: Tuesday, October 28, 2008 3:36 PM Subject: Re: [squeak-dev] Morphic focus