• 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: Moving focus to an NSTextField.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Moving focus to an NSTextField.


  • Subject: Re: Moving focus to an NSTextField.
  • From: David McGavern <email@hidden>
  • Date: Sun, 1 Feb 2004 00:21:07 -0500

Try this:

[yourWindow makeFirstResponder:yourTextField]

:-)

David McGavern

On Feb 1, 2004, at 12:07 AM, Robert Tillyard wrote:

I've had a trawl throughout the documentation but can't find how I move
the focus to an NSTextField.

I've tried [myWindow setInitialFirstRepsonder:myTextEdit] but this only
works first time through.

Regards, Rob.
_______________________________________________
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.
_______________________________________________
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: Moving focus to an NSTextField.
      • From: Robert Tillyard <email@hidden>
References: 
 >Moving focus to an NSTextField. (From: Robert Tillyard <email@hidden>)

  • Prev by Date: Adding Graphics to Buttons
  • Next by Date: Re: Invoking a Callback Selector (Newbie question)
  • Previous by thread: Moving focus to an NSTextField.
  • Next by thread: Re: Moving focus to an NSTextField.
  • Index(es):
    • Date
    • Thread