• 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: Help! How do I remove focus?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help! How do I remove focus?


  • Subject: Re: Help! How do I remove focus?
  • From: Nathan Day <email@hidden>
  • Date: Mon, 5 Aug 2002 22:47:18 +0930

Have you tried -[NSWindow makeFirstResponder:]

On Monday, August 5, 2002, at 08:08 PM, Marco Binder wrote:

I have an NSTextField in a drawer that the user can edit but I can9t seem to
remove the focus programmatically after the user finishes editing. I receive
the controlDidEndEditing notification okay, but nothing I code seems to
remove the focus. I9ve tried things like setRefusesFirstResponder and
resignFirstResponder, even setEnabled:NO then YES again!

I have exactly the same problem at the moment and tried the same things- me,
too, without success. It4s really annoying and I would also appreciate any
hints!


Nathan Day
http://homepage.mac.com/nathan_day/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Help! How do I remove focus? (From: Marco Binder <email@hidden>)

  • Prev by Date: Re: Palm Pilot and Cocoa...
  • Next by Date: Distributed Objects over a Network
  • Previous by thread: Re: Help! How do I remove focus?
  • Next by thread: resize the NSWindow
  • Index(es):
    • Date
    • Thread