• 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: Setting focus for a NSTextField view
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting focus for a NSTextField view


  • Subject: Re: Setting focus for a NSTextField view
  • From: Matt Neuburg <email@hidden>
  • Date: Fri, 09 Jun 2006 07:47:26 -0700
  • Thread-topic: Setting focus for a NSTextField view

On Thu, 8 Jun 2006 08:51:42 -0700, "email@hidden" <email@hidden> said:
>This should be a simple question, but I must be searching for the
>wrong terminology:
>
>I have a list of radio buttons with associated text fields.  When the
>user selects a radio button, I want to change the focus to the text
>field (NSTextField) that is associated with that radio button.
>
>What is the process to change the focus  (am I changing the first
>responder?)

Yes. Tell the window to makeFirstResponder:. m.

--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Update NSTextField programatically while cursor is in it
  • Next by Date: Re: Bindings and a dictionary
  • Previous by thread: Setting focus for a NSTextField view
  • Next by thread: Update NSTextField programatically while cursor is in it
  • Index(es):
    • Date
    • Thread