• 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: Getting NSWindow's focused NSTextField
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting NSWindow's focused NSTextField


  • Subject: Re: Getting NSWindow's focused NSTextField
  • From: Moray Taylor <email@hidden>
  • Date: Sun, 1 Aug 2004 17:39:32 +0100

On 1 Aug 2004, at 16:08, Matt Neuburg wrote:

On Sun, 1 Aug 2004 11:31:30 +0100, MT <email@hidden> said:
SImple question... (I think)

How do I get the current (focused) NSTextField in a window?

If I use firstResponder I get the same NSTextView every time, which I
assume is the NSWIndow's fieldEditor. But I need the actual
NSTextField.

Ask the field editor who its delegate is. m.

Ah, I see. Many thanks.

Moray
_______________________________________________
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: Getting NSWindow's focused NSTextField (From: Matt Neuburg <email@hidden>)

  • Prev by Date: NSDateFormatter, Interface Builder, and System Preference date formats
  • Next by Date: Re: Non-contiguous selections in NSTextView
  • Previous by thread: Re: Getting NSWindow's focused NSTextField
  • Next by thread: Non-contiguous selections in NSTextView
  • Index(es):
    • Date
    • Thread