• 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
can't tab between controls
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

can't tab between controls


  • Subject: can't tab between controls
  • From: "Marc Wan" <email@hidden>
  • Date: Sat, 11 Nov 2006 19:50:56 +0800

 so, my application has a window with a bunch of controls on it, mostly
NSButtons with images instead of text.  I want the application to be
designed such that one of the buttons initially has keyboard "focus", which
i'm assuming is firstResponder status.   So, in IB, I set this button to be
the "Initial First Responder".  These buttons are disabled in the NIB and
re-enabled when the user opens a doc.

 and when my app starts up and those buttons are all enabled, the one
button does indeed have the keyboard focus.

 however, i cannot hit TAB to move between these controls any more.

 if i DON'T set it as the initial first responder, then

 a. the wrong control comes up with the keyboard focus.
 b. i CAN use TAB to move between controls.

any idea what i'm doing wrong?  am i misinterpreting/misusing the first
responder concept?

 thanks,
 marc.
_______________________________________________
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


  • Follow-Ups:
    • Re: can't tab between controls
      • From: j o a r <email@hidden>
  • Prev by Date: Re: NSURLConnection memory hog?
  • Next by Date: Re: can't tab between controls
  • Previous by thread: Re: NSURLConnection memory hog?
  • Next by thread: Re: can't tab between controls
  • Index(es):
    • Date
    • Thread