• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: textfield problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: textfield problem
      • From: Kyle Sluder <email@hidden>
References: 
 >textfield problem (From: "H. Miersch" <email@hidden>)
 >Re: textfield problem (From: Ken Thomases <email@hidden>)
 >Re: textfield problem (From: "H. Miersch" <email@hidden>)
 >Re: textfield problem (From: Ken Thomases <email@hidden>)

  • Prev by Date: Re: NSURL and NSRegularExpression
  • Next by Date: Re: textfield problem
  • Previous by thread: Re: textfield problem
  • Next by thread: Re: textfield problem
  • Index(es):
    • Date
    • Thread