• 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: Matt Neuburg <email@hidden>
  • Date: Sun, 01 Aug 2004 08:08:38 -0700

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.

--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide
<http://www.amazon.com/exec/obidos/ASIN/0596005571/somethingsbymatt>
_______________________________________________
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.


  • Follow-Ups:
    • Re: Getting NSWindow's focused NSTextField
      • From: Moray Taylor <email@hidden>
  • Prev by Date: Re: Password encryption
  • Next by Date: NSScrollView example?
  • Previous by thread: Getting NSWindow's focused NSTextField
  • Next by thread: Re: Getting NSWindow's focused NSTextField
  • Index(es):
    • Date
    • Thread