• 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: Robert Tillyard <email@hidden>
  • Date: Sun, 1 Feb 2004 12:51:15 +0000

Thank you both for your help, that does the trick.

Regards, Rob.

On 1 Feb 2004, at 5:21 am, David McGavern wrote:

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.

References: 
 >Moving focus to an NSTextField. (From: Robert Tillyard <email@hidden>)
 >Re: Moving focus to an NSTextField. (From: David McGavern <email@hidden>)

  • Prev by Date: Re: saving rtf data in non-document based app
  • Next by Date: Re: Cocoa/Windows parallel dvlpmt
  • Previous by thread: Re: Moving focus to an NSTextField.
  • Next by thread: Adding Graphics to Buttons
  • Index(es):
    • Date
    • Thread