Tabbing to buttons in a procedural view.
Tabbing to buttons in a procedural view.
- Subject: Tabbing to buttons in a procedural view.
- From: Joel Norvell <email@hidden>
- Date: Thu, 5 Oct 2006 01:03:42 -0700 (PDT)
Dear Coco-dev People,
I've implemented a number of NSTextField items and NSButton items PROCEDURALLY
(without using IB) in a container view. I successfully setup the
firstResponder and tried setting up the nextKeyView chain, but the buttons are
skipped when I tab sequentially through these items.
(I've tried using different "setButtonType" parameters including
NSToggleButton, NSSwitchButton and NSRadioButton.)
I've looked at the Cocoa-dev archive but didn't come up with anything concrete.
(Perhaps I missed something.)
I'm guessing I need to subclass NSButton and/or NSButtonCell but I'm not sure
exactly which methods to override. I've tried several permutations but feel
like I'm chasing my tail.
A recipe showing how to do this or a pointer to example code that does this
(procedurally) would really be appreciated! (FWIW, I've already looked at
ClockControl.)
Sincere thanks.
Joel Norvell
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
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