Re: textfield problem
Re: textfield problem
- Subject: Re: textfield problem
- From: Kyle Sluder <email@hidden>
- Date: Sun, 04 Mar 2012 11:24:05 -0800
On Mar 4, 2012, at 11:01 AM, "H. Miersch" <email@hidden> wrote:
>
> 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?
Ken explained why in the part of his email that you quoted.
--Kyle Sluder
_______________________________________________
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