• 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: How to make an NSTextField the First Responder?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to make an NSTextField the First Responder?


  • Subject: Re: How to make an NSTextField the First Responder?
  • From: email@hidden
  • Date: Fri, 1 Nov 2002 11:50:30 +0100

On vendredi, novembre 1, 2002, at 10:50 AM, John McGruer wrote:

I know this must be fairly basic but I have two NSTextFields on a Panel and the cursor is active in the second one. How do I get the cursor back into the first field (so the user doesn't have to tab. I've tried [mywindow makeFirstResponder:myTextField] and every other obvious option, but nothing seems to work. Can anyone help? Thanks...

In Interface Builder, create a link from the Panel to the NSTextField and connect the initialKeyResponder outlet.
_______________________________________________
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: 
 >How to make an NSTextField the First Responder? (From: John McGruer <email@hidden>)

  • Prev by Date: Re: Looking for performance-oneway asynch call
  • Next by Date: Loading Compiled AppleScript from Main Bundle???
  • Previous by thread: How to make an NSTextField the First Responder?
  • Next by thread: Re: Contextual Menu Setting
  • Index(es):
    • Date
    • Thread