• 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: Focus ring changed
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Focus ring changed


  • Subject: Re: Focus ring changed
  • From: Eric Long <email@hidden>
  • Date: Mon, 15 Nov 2004 14:23:00 -0800

> t would be cool if there exists a way to do this with bindings.

Thanks Ricky and Óscar.

I'll look into maybe figuring this out with bindings.

I tried NSViewFocusDidChangeNotification.  When I add my window controller
as an observer for it, passing nil as the object, I get notices when the
focus changes... But I get a lot of notices for other things I don't  need
to hear about.

I tried passing in a table as the object, but that didn't work.  Logging the
description for the object in the notices I get, I see that when I tab from
one table to the other I get two notices.  The object is an NSView for both
notices, but it's not my table views.  I don't know what it is. It shows the
bounds as 128x128.  If I knew what object it was, I could sign up for
notices just for it.  There's nothing obvious in my window with those
dimensions, so I figure it must be something under the hood.


Eric


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: Focus ring changed (From: Ricky Sharp <email@hidden>)

  • Prev by Date: Re: Custom NSTextView and scrolling problem
  • Next by Date: Re: Access instance var from NSValueTransformer
  • Previous by thread: Re: Focus ring changed
  • Next by thread: Re: Focus ring changed
  • Index(es):
    • Date
    • Thread