On Oct 22, 2009, at 7:08 AM, Sander Stoks wrote:
But: if I cause editing to end by pressing the Enter key (instead of Tab), and then give another window the focus, clicking on the textfield doesn't cause a mouseDown to be receive anymore. The contents of the textfield stay selected (the focus ring is, of course, gone).
Probably because the textfield is still the window's first responder (even though the window isn't key). In that situation there's an NSTextView overlaid on the text field, which actually does the editing, so clicks go to the text view instead of the field itself.
—Jens _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com