Re: textfield problem
Re: textfield problem
- Subject: Re: textfield problem
- From: "H. Miersch" <email@hidden>
- Date: Sun, 04 Mar 2012 19:01:21 +0000
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 (email@hidden)
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:
This email sent to email@hidden