Tab to NSButtons as nextKeyView
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.