• 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
Tab to NSButtons as nextKeyView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Tab to NSButtons as nextKeyView


  • Subject: Tab to NSButtons as nextKeyView
  • From: Pete Gordon <email@hidden>
  • Date: Thu, 6 May 2004 22:36:38 -0400

I hope I am missing something simple.

Using just Interface Builder, I can't seem to tab to NSButtons for a NSTextField using nextKeyView. I have setup my initialFirstResponser, and the nextKeyViews, but it doesn't stop on the NSButtons it goes to the next text field if there is one (before I only had one text field and it wouldn't do anything).

I am trying to do this without coding my own handling of the key events. Do others see this same thing in IB and running Test Interface?

You should be able to duplicate it as I did in Interface Builder with this simple app...

New Cocoa Application
put a text field on the NSWindow
put a button on the page
connect NSWindow to the NSTextField (initialFirstResponder)
connect NSTextField to NSButton (nextKeyView)
connect NSButton to NSTextField (nextKeyView)
Click Show Keyboard Check to test your Keyboard Loop (should work as expected)
But then doesn't work when you run Test Interface.

Any ideas?


Thanks,
Pete Gordon
_______________________________________________
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: Tab to NSButtons as nextKeyView
      • From: Andreas Mayer <email@hidden>
    • Re: Tab to NSButtons as nextKeyView
      • From: Larry Fransson <email@hidden>
  • Prev by Date: Re: where to find more applicable info on cocoa development
  • Next by Date: Re: Saving Web Content
  • Previous by thread: Re: [OFF] connect.apple.com Asia Pacific mirror broken?
  • Next by thread: Re: Tab to NSButtons as nextKeyView
  • Index(es):
    • Date
    • Thread