On 3. Mar 2012, at 10:49, Ken Thomases wrote: > If the window doesn't have a resize box or title bar -- that is, you're using > NSBorderlessWindowMask -- then the NSWindow implementation of > -canBecomeKeyWindow returns NO.
i gave the window a title bar (which doesn't appear when used as a sheet) and now i can edit the contents of the textfield. IOW, problem solved. thanks. but that brings up another question: why would the (non-)existence of a titlebar which isn't shown anyway affect how a textfield works? _______________________________________________ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com