Tabbing between cells in a complex control
Tabbing between cells in a complex control
- Subject: Tabbing between cells in a complex control
- From: Charles Jenkins <email@hidden>
- Date: Sun, 31 Jan 2010 15:03:32 -0500
I have defined
* A subclass of NSActionCell named CJIndicatorCell
* A subclass of NSControl named CJDistributionControl
The distribution control will contain more than one indicator cell. I have had no problem designing the control to the point where the cells can draw themselves and the control can manage them and everything displays properly, but the thing I'm not finding in Apple's documentation is how to make the individual cells become part of the responder chain (or at least act like it).
I want to be able to tab from indicator to indicator when the control is on the screen. The purpose is to allow the user to use the keyboard to tab down to one of the indicators and adjust its value with the arrow keys.
I guess another way to state it is that where a normal control takes up ONE position in the responder chain, this control will need to take X positions, where X is the number of indicators it is displaying.
P.S. Is it okay to post one's own source code on this forum for the purpose of getting assistance?
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden